home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Frank Lloyd Wright Companion
/
The Frank Lloyd Wright Companion.iso
/
fullmacapps
/
macfllwc_small.sit
/
MacFLLWC_Small
/
flw.mvb.rsrc
/
CODE_2_QH Main2.txt
< prev
next >
Wrap
Text File
|
1995-09-30
|
495KB
|
8,971 lines
# near model CODE resource
# jump table entries: 56408-56525 (118 of them)
00000000 FFFF .extension 0xFFF // unimplemented
00000002 DC58 add.w D6, [A0]+
00000004 0000 5D7E ori.b D0, 0x7E /* '~' */
00000008 2F03 move.l -[A7], D3
0000000A 5D4F subq.w A7, 6
0000000C 262F 000E move.l D3, [A7 + 0xE]
00000010 42A7 clr.l -[A7]
00000012 4EAD DB14 jsr [A5 - 0x24EC]
00000016 2F2F 0016 move.l -[A7], [A7 + 0x16]
0000001A 2F03 move.l -[A7], D3
0000001C 4EAD DB26 jsr [A5 - 0x24DA]
00000020 2F48 000E move.l [A7 + 0xE], A0
00000024 4878 0001 push.l 0x1
00000028 4EAD DB14 jsr [A5 - 0x24EC]
0000002C 4AAF 0012 tst.l [A7 + 0x12]
00000030 4FEF 0010 lea.l A7, [A7 + 0x10]
00000034 6608 bne +0xA /* 0000003E */
00000036 91C8 sub.l A0, A0
00000038 5C4F addq.w A7, 6
0000003A 261F move.l D3, [A7]+
0000003C 4E75 rts
label0000003E:
0000003E 206F 0002 movea.l A0, [A7 + 0x2]
00000042 4A90 tst.l [A0]
00000044 670A beq +0xC /* 00000050 */
00000046 206F 0002 movea.l A0, [A7 + 0x2]
0000004A 5C4F addq.w A7, 6
0000004C 261F move.l D3, [A7]+
0000004E 4E75 rts
label00000050:
00000050 2F03 move.l -[A7], D3
00000052 2F2F 0006 move.l -[A7], [A7 + 0x6]
00000056 4EAD DB44 jsr [A5 - 0x24BC]
0000005A 4EAD DB02 jsr [A5 - 0x24FE]
0000005E 4A40 tst.w D0
00000060 504F addq.w A7, 8
00000062 6708 beq +0xA /* 0000006C */
00000064 91C8 sub.l A0, A0
00000066 5C4F addq.w A7, 6
00000068 261F move.l D3, [A7]+
0000006A 4E75 rts
label0000006C:
0000006C 2F03 move.l -[A7], D3
0000006E 2F2F 0006 move.l -[A7], [A7 + 0x6]
00000072 4EAD DB5C jsr [A5 - 0x24A4]
00000076 3F40 0008 move.w [A7 + 0x8], D0
0000007A 4EAD DB02 jsr [A5 - 0x24FE]
0000007E 4A40 tst.w D0
00000080 504F addq.w A7, 8
00000082 6708 beq +0xA /* 0000008C */
00000084 91C8 sub.l A0, A0
00000086 5C4F addq.w A7, 6
00000088 261F move.l D3, [A7]+
0000008A 4E75 rts
label0000008C:
0000008C 3017 move.w D0, [A7]
0000008E 0280 0000 0080 andi.l D0, 0x80
00000094 6722 beq +0x24 /* 000000B8 */
00000096 2F03 move.l -[A7], D3
00000098 486F 0006 pea.l [A7 + 0x6]
0000009C 4EBA 0030 jsr [PC + 0x30 /* 000000CE */]
000000A0 4EAD DB02 jsr [A5 - 0x24FE]
000000A4 3600 move.w D3, D0
000000A6 504F addq.w A7, 8
000000A8 670E beq +0x10 /* 000000B8 */
000000AA 206F 0002 movea.l A0, [A7 + 0x2]
000000AE A02B syscall EmptyHandle
000000B0 91C8 sub.l A0, A0
000000B2 5C4F addq.w A7, 6
000000B4 261F move.l D3, [A7]+
000000B6 4E75 rts
label000000B8:
000000B8 206F 0002 movea.l A0, [A7 + 0x2]
000000BC 5C4F addq.w A7, 6
000000BE 261F move.l D3, [A7]+
000000C0 4E75 rts
000000C2 2F2F 0004 move.l -[A7], [A7 + 0x4]
000000C6 4EAD DB56 jsr [A5 - 0x24AA]
000000CA 584F addq.w A7, 4
000000CC 4E75 rts
fn000000CE:
000000CE 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
000000D2 594F subq.w A7, 4
000000D4 266F 0020 movea.l A3, [A7 + 0x20]
000000D8 262F 0024 move.l D3, [A7 + 0x24]
000000DC 2053 movea.l A0, [A3]
000000DE A029 syscall HLock
000000E0 2053 movea.l A0, [A3]
000000E2 2850 movea.l A4, [A0]
000000E4 594F subq.w A7, 4
000000E6 2F13 move.l -[A7], [A3]
000000E8 4EAD D9AC jsr [A5 - 0x2654]
000000EC 201F move.l D0, [A7]+
000000EE 5980 subq.l D0, 4
000000F0 2800 move.l D4, D0
000000F2 41F4 4800 lea.l A0, [A4 + D4]
000000F6 43D7 lea.l A1, [A7]
000000F8 7004 moveq.l D0, 0x04
000000FA A02E syscall BlockMove/BlockMoveData
000000FC 486D 1436 pea.l [A5 + 0x1436]
00000100 2F2F 0004 move.l -[A7], [A7 + 0x4]
00000104 4EBA 1BE6 jsr [PC + 0x1BE6 /* 00001CEC */]
00000108 2448 movea.l A2, A0
0000010A 200A move.l D0, A2
0000010C 504F addq.w A7, 8
0000010E 6752 beq +0x54 /* 00000162 */
00000110 204A movea.l A0, A2
00000112 A029 syscall HLock
00000114 2C52 movea.l A6, [A2]
00000116 702D moveq.l D0, 0x2D
00000118 B680 cmp.l D3, D0
0000011A 6610 bne +0x12 /* 0000012C */
0000011C 2F04 move.l -[A7], D4
0000011E 2F0C move.l -[A7], A4
00000120 2F0E move.l -[A7], A6
00000122 4EBA 00EE jsr [PC + 0xEE /* 00000212 */]
00000126 4FEF 000C lea.l A7, [A7 + 0xC]
0000012A 6026 bra +0x28 /* 00000152 */
label0000012C:
0000012C 7020 moveq.l D0, 0x20
0000012E B680 cmp.l D3, D0
00000130 670C beq +0xE /* 0000013E */
00000132 700B moveq.l D0, 0x0B
00000134 B680 cmp.l D3, D0
00000136 6706 beq +0x8 /* 0000013E */
00000138 703D moveq.l D0, 0x3D
0000013A B680 cmp.l D3, D0
0000013C 6614 bne +0x16 /* 00000152 */
label0000013E:
0000013E 2F04 move.l -[A7], D4
00000140 2F0C move.l -[A7], A4
00000142 2F0E move.l -[A7], A6
00000144 4EAD E930 jsr [A5 - 0x16D0]
00000148 3B40 1436 move.w [A5 + 0x1436], D0
0000014C 4FEF 000C lea.l A7, [A7 + 0xC]
00000150 4E71 nop
label00000152:
00000152 204A movea.l A0, A2
00000154 A02A syscall HUnlock
00000156 4A6D 1436 tst.w [A5 + 0x1436]
0000015A 6706 beq +0x8 /* 00000162 */
0000015C 204A movea.l A0, A2
0000015E A023 syscall DisposHandle/DisposeHandle
00000160 95CA sub.l A2, A2
label00000162:
00000162 2053 movea.l A0, [A3]
00000164 A02A syscall HUnlock
00000166 200A move.l D0, A2
00000168 6724 beq +0x26 /* 0000018E */
0000016A 4A6D 1436 tst.w [A5 + 0x1436]
0000016E 661A bne +0x1C /* 0000018A */
00000170 2F03 move.l -[A7], D3
00000172 2F0A move.l -[A7], A2
00000174 2F13 move.l -[A7], [A3]
00000176 4EAD DB38 jsr [A5 - 0x24C8]
0000017A 2053 movea.l A0, [A3]
0000017C A023 syscall DisposHandle/DisposeHandle
0000017E 204A movea.l A0, A2
00000180 A049 syscall HPurge
00000182 268A move.l [A3], A2
00000184 4FEF 000C lea.l A7, [A7 + 0xC]
00000188 6004 bra +0x6 /* 0000018E */
label0000018A:
0000018A 204A movea.l A0, A2
0000018C A023 syscall DisposHandle/DisposeHandle
label0000018E:
0000018E 584F addq.w A7, 4
00000190 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00000194 4E75 rts
fn00000196:
00000196 48E7 0018 movem.l -[A7], A3,A4
0000019A 286F 000C movea.l A4, [A7 + 0xC]
0000019E 266F 0010 movea.l A3, [A7 + 0x10]
000001A2 1413 move.b D2, [A3]
000001A4 1002 move.b D0, D2
000001A6 0280 0000 0080 andi.l D0, 0x80
000001AC 6644 bne +0x46 /* 000001F2 */
000001AE 1002 move.b D0, D2
000001B0 7240 moveq.l D1, 0x40
000001B2 C081 and.l D0, D1
000001B4 6714 beq +0x16 /* 000001CA */
000001B6 70BF moveq.l D0, 0xFFFFFFBF
000001B8 7200 moveq.l D1, 0x00
000001BA 1202 move.b D1, D2
000001BC C280 and.l D1, D0
000001BE 2881 move.l [A4], D1
000001C0 204B movea.l A0, A3
000001C2 5288 addq.l A0, 1
000001C4 4CDF 1800 movem.l A3,A4, [A7]+
000001C8 4E75 rts
label000001CA:
000001CA 1002 move.b D0, D2
000001CC 7220 moveq.l D1, 0x20
000001CE C081 and.l D0, D1
000001D0 6720 beq +0x22 /* 000001F2 */
000001D2 224C movea.l A1, A4
000001D4 4251 clr.w [A1]
000001D6 70DF moveq.l D0, 0xFFFFFFDF
000001D8 7200 moveq.l D1, 0x00
000001DA 1202 move.b D1, D2
000001DC C280 and.l D1, D0
000001DE 1341 0002 move.b [A1 + 0x2], D1
000001E2 136B 0001 0003 move.b [A1 + 0x3], [A3 + 0x1]
000001E8 204B movea.l A0, A3
000001EA 5488 addq.l A0, 2
000001EC 4CDF 1800 movem.l A3,A4, [A7]+
000001F0 4E75 rts
label000001F2:
000001F2 224C movea.l A1, A4
000001F4 1282 move.b [A1], D2
000001F6 136B 0001 0001 move.b [A1 + 0x1], [A3 + 0x1]
000001FC 136B 0002 0002 move.b [A1 + 0x2], [A3 + 0x2]
00000202 136B 0003 0003 move.b [A1 + 0x3], [A3 + 0x3]
00000208 204B movea.l A0, A3
0000020A 5888 addq.l A0, 4
0000020C 4CDF 1800 movem.l A3,A4, [A7]+
00000210 4E75 rts
fn00000212:
00000212 48E7 003A movem.l -[A7], A2,A3,A4,A6
00000216 246F 0014 movea.l A2, [A7 + 0x14]
0000021A 266F 0018 movea.l A3, [A7 + 0x18]
0000021E 2C4B movea.l A6, A3
00000220 DDEF 001C add.l A6, [A7 + 0x1C]
00000224 6000 00E6 bra +0xE8 /* 0000030C */
label00000228:
00000228 7000 moveq.l D0, 0x00
0000022A 101B move.b D0, [A3]+
0000022C 3480 move.w [A2], D0
0000022E 2F0B move.l -[A7], A3
00000230 486A 0006 pea.l [A2 + 0x6]
00000234 4EBA FF60 jsr [PC - 0xA0 /* 00000196 */]
00000238 2648 movea.l A3, A0
0000023A 0C52 0010 cmpi.w [A2], 0x10
0000023E 504F addq.w A7, 8
00000240 6700 00D0 beq +0xD2 /* 00000312 */
00000244 0C52 000E cmpi.w [A2], 0xE
00000248 6700 008C beq +0x8E /* 000002D6 */
0000024C 0C52 0014 cmpi.w [A2], 0x14
00000250 671E beq +0x20 /* 00000270 */
00000252 0C52 0015 cmpi.w [A2], 0x15
00000256 6718 beq +0x1A /* 00000270 */
00000258 0C52 0004 cmpi.w [A2], 0x4
0000025C 6712 beq +0x14 /* 00000270 */
0000025E 0C52 000F cmpi.w [A2], 0xF
00000262 670C beq +0xE /* 00000270 */
00000264 0C52 0011 cmpi.w [A2], 0x11
00000268 6706 beq +0x8 /* 00000270 */
0000026A 0C52 0012 cmpi.w [A2], 0x12
0000026E 660E bne +0x10 /* 0000027E */
label00000270:
00000270 2F0B move.l -[A7], A3
00000272 486A 0002 pea.l [A2 + 0x2]
00000276 4EBA FF1E jsr [PC - 0xE2 /* 00000196 */]
0000027A 2648 movea.l A3, A0
0000027C 504F addq.w A7, 8
label0000027E:
0000027E 4A52 tst.w [A2]
00000280 6718 beq +0x1A /* 0000029A */
00000282 0C52 0001 cmpi.w [A2], 0x1
00000286 6712 beq +0x14 /* 0000029A */
00000288 0C52 0002 cmpi.w [A2], 0x2
0000028C 670C beq +0xE /* 0000029A */
0000028E 0C52 0003 cmpi.w [A2], 0x3
00000292 6706 beq +0x8 /* 0000029A */
00000294 0C52 0004 cmpi.w [A2], 0x4
00000298 661C bne +0x1E /* 000002B6 */
label0000029A:
0000029A 2F0B move.l -[A7], A3
0000029C 486A 000A pea.l [A2 + 0xA]
000002A0 4EBA FEF4 jsr [PC - 0x10C /* 00000196 */]
000002A4 2648 movea.l A3, A0
000002A6 2F0B move.l -[A7], A3
000002A8 486A 000E pea.l [A2 + 0xE]
000002AC 4EBA FEE8 jsr [PC - 0x118 /* 00000196 */]
000002B0 2648 movea.l A3, A0
000002B2 4FEF 0010 lea.l A7, [A7 + 0x10]
label000002B6:
000002B6 4A52 tst.w [A2]
000002B8 674E beq +0x50 /* 00000308 */
000002BA 0C52 000D cmpi.w [A2], 0xD /* '\r' */
000002BE 6748 beq +0x4A /* 00000308 */
000002C0 0C52 0016 cmpi.w [A2], 0x16
000002C4 6742 beq +0x44 /* 00000308 */
000002C6 2F0B move.l -[A7], A3
000002C8 486A 0012 pea.l [A2 + 0x12]
000002CC 4EBA FEC8 jsr [PC - 0x138 /* 00000196 */]
000002D0 2648 movea.l A3, A0
000002D2 504F addq.w A7, 8
000002D4 6032 bra +0x34 /* 00000308 */
label000002D6:
000002D6 284A movea.l A4, A2
000002D8 204B movea.l A0, A3
000002DA 43EC 0002 lea.l A1, [A4 + 0x2]
000002DE 7008 moveq.l D0, 0x08
000002E0 A02E syscall BlockMove/BlockMoveData
000002E2 508B addq.l A3, 8
000002E4 7000 moveq.l D0, 0x00
000002E6 101B move.b D0, [A3]+
000002E8 3940 0012 move.w [A4 + 0x12], D0
000002EC 2F0B move.l -[A7], A3
000002EE 486C 000A pea.l [A4 + 0xA]
000002F2 4EBA FEA2 jsr [PC - 0x15E /* 00000196 */]
000002F6 2648 movea.l A3, A0
000002F8 2F0B move.l -[A7], A3
000002FA 486C 000E pea.l [A4 + 0xE]
000002FE 4EBA FE96 jsr [PC - 0x16A /* 00000196 */]
00000302 2648 movea.l A3, A0
00000304 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000308:
00000308 7016 moveq.l D0, 0x16
0000030A D5C0 add.l A2, D0
label0000030C:
0000030C B7CE cmpa.l A3, A6
0000030E 6500 FF18 bcs -0xE6 /* 00000228 */
label00000312:
00000312 4CDF 5C00 movem.l A2,A3,A4,A6, [A7]+
00000316 4E75 rts
00000318 4AAD AD06 tst.l [A5 - 0x52FA]
0000031C 670E beq +0x10 /* 0000032C */
0000031E 206D AD06 movea.l A0, [A5 - 0x52FA]
00000322 A023 syscall DisposHandle/DisposeHandle
00000324 42AD AD06 clr.l [A5 - 0x52FA]
00000328 42AD AD0E clr.l [A5 - 0x52F2]
label0000032C:
0000032C 4AAD ACFA tst.l [A5 - 0x5306]
00000330 670E beq +0x10 /* 00000340 */
00000332 206D ACFA movea.l A0, [A5 - 0x5306]
00000336 A023 syscall DisposHandle/DisposeHandle
00000338 42AD ACFA clr.l [A5 - 0x5306]
0000033C 42AD AD02 clr.l [A5 - 0x52FE]
label00000340:
00000340 4AAD ACD4 tst.l [A5 - 0x532C]
00000344 6738 beq +0x3A /* 0000037E */
00000346 202D ACD0 move.l D0, [A5 - 0x5330]
0000034A 7218 moveq.l D1, 0x18
0000034C 4EAD D8F8 jsr [A5 - 0x2708]
00000350 206D ACD4 movea.l A0, [A5 - 0x532C]
00000354 A024 syscall SetHandleSize
00000356 42A7 clr.l -[A7]
00000358 3F3C 0001 move.w -[A7], 0x1
0000035C 4878 0018 push.l 0x18
00000360 2F2D ACD4 move.l -[A7], [A5 - 0x532C]
00000364 4EBA 1502 jsr [PC + 0x1502 /* 00001868 */]
00000368 206D ACD4 movea.l A0, [A5 - 0x532C]
0000036C A023 syscall DisposHandle/DisposeHandle
0000036E 42AD ACD4 clr.l [A5 - 0x532C]
00000372 42AD ACCC clr.l [A5 - 0x5334]
00000376 42AD ACD0 clr.l [A5 - 0x5330]
0000037A 4FEF 000E lea.l A7, [A7 + 0xE]
label0000037E:
0000037E 4AAD ACF6 tst.l [A5 - 0x530A]
00000382 670A beq +0xC /* 0000038E */
00000384 206D ACF6 movea.l A0, [A5 - 0x530A]
00000388 A023 syscall DisposHandle/DisposeHandle
0000038A 42AD ACF6 clr.l [A5 - 0x530A]
label0000038E:
0000038E 4AAD ACC8 tst.l [A5 - 0x5338]
00000392 670E beq +0x10 /* 000003A2 */
00000394 206D ACC8 movea.l A0, [A5 - 0x5338]
00000398 A023 syscall DisposHandle/DisposeHandle
0000039A 42AD ACC8 clr.l [A5 - 0x5338]
0000039E 42AD ACC4 clr.l [A5 - 0x533C]
label000003A2:
000003A2 4E75 rts
000003A4 48E7 1E38 movem.l -[A7], D3,D4,D5,D6,A2,A3,A4
000003A8 3C2F 0020 move.w D6, [A7 + 0x20]
000003AC 282F 0022 move.l D4, [A7 + 0x22]
000003B0 246F 0026 movea.l A2, [A7 + 0x26]
000003B4 286F 002A movea.l A4, [A7 + 0x2A]
000003B8 266F 0032 movea.l A3, [A7 + 0x32]
000003BC 4EAD DB08 jsr [A5 - 0x24F8]
000003C0 3A00 move.w D5, D0
000003C2 3F06 move.w -[A7], D6
000003C4 4EAD DB0E jsr [A5 - 0x24F2]
000003C8 200C move.l D0, A4
000003CA 544F addq.w A7, 2
000003CC 6702 beq +0x4 /* 000003D0 */
000003CE 4294 clr.l [A4]
label000003D0:
000003D0 4A84 tst.l D4
000003D2 6D00 00E2 blt +0xE4 /* 000004B6 */
000003D6 200B move.l D0, A3
000003D8 6700 009C beq +0x9E /* 00000476 */
000003DC 42A7 clr.l -[A7]
000003DE 4EAD DB14 jsr [A5 - 0x24EC]
000003E2 2F04 move.l -[A7], D4
000003E4 4878 0021 push.l 0x21 /* '!' */
000003E8 4EAD DB26 jsr [A5 - 0x24DA]
000003EC 2488 move.l [A2], A0
000003EE 4EAD DB02 jsr [A5 - 0x24FE]
000003F2 3600 move.w D3, D0
000003F4 4878 0001 push.l 0x1
000003F8 4EAD DB14 jsr [A5 - 0x24EC]
000003FC 4A43 tst.w D3
000003FE 4FEF 0010 lea.l A7, [A7 + 0x10]
00000402 6600 00CC bne +0xCE /* 000004D0 */
00000406 2052 movea.l A0, [A2]
00000408 4A90 tst.l [A0]
0000040A 6720 beq +0x22 /* 0000042C */
0000040C 2052 movea.l A0, [A2]
0000040E 2050 movea.l A0, [A0]
00000410 26A8 0002 move.l [A3], [A0 + 0x2]
00000414 2768 0006 0004 move.l [A3 + 0x4], [A0 + 0x6]
0000041A 4292 clr.l [A2]
0000041C 3F05 move.w -[A7], D5
0000041E 4EAD DB0E jsr [A5 - 0x24F2]
00000422 7000 moveq.l D0, 0x00
00000424 544F addq.w A7, 2
00000426 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
0000042A 4E75 rts
label0000042C:
0000042C 4878 000A push.l 0xA /* '\n' */
00000430 42A7 clr.l -[A7]
00000432 4878 0021 push.l 0x21 /* '!' */
00000436 2F12 move.l -[A7], [A2]
00000438 4EAD DB3E jsr [A5 - 0x24C2]
0000043C 4EAD DB02 jsr [A5 - 0x24FE]
00000440 3600 move.w D3, D0
00000442 4FEF 0010 lea.l A7, [A7 + 0x10]
00000446 6600 0088 bne +0x8A /* 000004D0 */
0000044A 2052 movea.l A0, [A2]
0000044C 2050 movea.l A0, [A0]
0000044E 26A8 0002 move.l [A3], [A0 + 0x2]
00000452 2768 0006 0004 move.l [A3 + 0x4], [A0 + 0x6]
00000458 4878 0021 push.l 0x21 /* '!' */
0000045C 2F12 move.l -[A7], [A2]
0000045E 4EAD DB32 jsr [A5 - 0x24CE]
00000462 4292 clr.l [A2]
00000464 3F05 move.w -[A7], D5
00000466 4EAD DB0E jsr [A5 - 0x24F2]
0000046A 7000 moveq.l D0, 0x00
0000046C 4FEF 000A lea.l A7, [A7 + 0xA]
00000470 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00000474 4E75 rts
label00000476:
00000476 2F04 move.l -[A7], D4
00000478 4878 0021 push.l 0x21 /* '!' */
0000047C 4EAD DB26 jsr [A5 - 0x24DA]
00000480 2488 move.l [A2], A0
00000482 4EAD DB02 jsr [A5 - 0x24FE]
00000486 3600 move.w D3, D0
00000488 4A43 tst.w D3
0000048A 504F addq.w A7, 8
0000048C 6642 bne +0x44 /* 000004D0 */
0000048E 200C move.l D0, A4
00000490 673E beq +0x40 /* 000004D0 */
00000492 4A92 tst.l [A2]
00000494 673A beq +0x3C /* 000004D0 */
00000496 2052 movea.l A0, [A2]
00000498 A069 syscall HGetState
0000049A 1C00 move.b D6, D0
0000049C 2052 movea.l A0, [A2]
0000049E A04A syscall HNoPurge
000004A0 2F04 move.l -[A7], D4
000004A2 4878 000D push.l 0xD /* '\r' */
000004A6 4EAD DB26 jsr [A5 - 0x24DA]
000004AA 2888 move.l [A4], A0
000004AC 2052 movea.l A0, [A2]
000004AE 1006 move.b D0, D6
000004B0 A06A syscall HSetState
000004B2 504F addq.w A7, 8
000004B4 601A bra +0x1C /* 000004D0 */
label000004B6:
000004B6 2F2F 002E move.l -[A7], [A7 + 0x2E]
000004BA 2F0C move.l -[A7], A4
000004BC 2F0A move.l -[A7], A2
000004BE 2004 move.l D0, D4
000004C0 4480 neg.l D0
000004C2 2F00 move.l -[A7], D0
000004C4 3F06 move.w -[A7], D6
000004C6 4EAD E738 jsr [A5 - 0x18C8]
000004CA 3600 move.w D3, D0
000004CC 4FEF 0012 lea.l A7, [A7 + 0x12]
label000004D0:
000004D0 3F05 move.w -[A7], D5
000004D2 4EAD DB0E jsr [A5 - 0x24F2]
000004D6 0C43 FF94 cmpi.w D3, 0xFF94
000004DA 544F addq.w A7, 2
000004DC 662C bne +0x2E /* 0000050A */
000004DE 594F subq.w A7, 4
000004E0 302D 135E move.w D0, [A5 + 0x135E]
000004E4 48C0 ext.l D0
000004E6 0680 0000 0088 addi.l D0, 0x88
000004EC 3F00 move.w -[A7], D0
000004EE A9BC syscall GetPicture
000004F0 205F movea.l A0, [A7]+
000004F2 2488 move.l [A2], A0
000004F4 554F subq.w A7, 2
000004F6 A9AF syscall ResError
000004F8 301F move.w D0, [A7]+
000004FA 3600 move.w D3, D0
000004FC 6708 beq +0xA /* 00000506 */
000004FE 3003 move.w D0, D3
00000500 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00000504 4E75 rts
label00000506:
00000506 2052 movea.l A0, [A2]
00000508 A04A syscall HNoPurge
label0000050A:
0000050A 200B move.l D0, A3
0000050C 6712 beq +0x14 /* 00000520 */
0000050E 4A92 tst.l [A2]
00000510 670E beq +0x10 /* 00000520 */
00000512 2052 movea.l A0, [A2]
00000514 2050 movea.l A0, [A0]
00000516 26A8 0002 move.l [A3], [A0 + 0x2]
0000051A 2768 0006 0004 move.l [A3 + 0x4], [A0 + 0x6]
label00000520:
00000520 3003 move.w D0, D3
00000522 4CDF 1C78 movem.l D3,D4,D5,D6,A2,A3,A4, [A7]+
00000526 4E75 rts
00000528 48E7 1020 movem.l -[A7], D3,A2
0000052C 262F 000C move.l D3, [A7 + 0xC]
00000530 594F subq.w A7, 4
00000532 2EB8 09D6 move.l [A7], [0x000009D6 /* WindowList */]
00000536 205F movea.l A0, [A7]+
00000538 2448 movea.l A2, A0
0000053A 6022 bra +0x24 /* 0000055E */
label0000053C:
0000053C 554F subq.w A7, 2
0000053E 2F0A move.l -[A7], A2
00000540 206D 1356 movea.l A0, [A5 + 0x1356]
00000544 4E90 jsr [A0]
00000546 301F move.w D0, [A7]+
00000548 6710 beq +0x12 /* 0000055A */
0000054A 2003 move.l D0, D3
0000054C 5383 subq.l D3, 1
0000054E 4A80 tst.l D0
00000550 6608 bne +0xA /* 0000055A */
00000552 204A movea.l A0, A2
00000554 4CDF 0408 movem.l D3,A2, [A7]+
00000558 4E75 rts
label0000055A:
0000055A 246A 0090 movea.l A2, [A2 + 0x90]
label0000055E:
0000055E 200A move.l D0, A2
00000560 66DA bne -0x24 /* 0000053C */
00000562 91C8 sub.l A0, A0
00000564 4CDF 0408 movem.l D3,A2, [A7]+
00000568 4E75 rts
0000056A 4AAD 12FE tst.l [A5 + 0x12FE]
0000056E 6628 bne +0x2A /* 00000598 */
00000570 594F subq.w A7, 4
00000572 2F3C 5744 4546 move.l -[A7], 0x57444546 /* 'WDEF' */
00000578 3F3C 0081 move.w -[A7], 0x81
0000057C A9A0 syscall GetResource
0000057E 205F movea.l A0, [A7]+
00000580 2B48 12FE move.l [A5 + 0x12FE], A0
00000584 594F subq.w A7, 4
00000586 2F3C 5744 4546 move.l -[A7], 0x57444546 /* 'WDEF' */
0000058C 3F3C 0081 move.w -[A7], 0x81
00000590 A9A0 syscall GetResource
00000592 205F movea.l A0, [A7]+
00000594 2B48 1302 move.l [A5 + 0x1302 /* export_604 */], A0
label00000598:
00000598 206F 0004 movea.l A0, [A7 + 0x4]
0000059C 2068 007E movea.l A0, [A0 + 0x7E]
000005A0 B1ED 12FE cmpa.l A0, [A5 + 0x12FE]
000005A4 6712 beq +0x14 /* 000005B8 */
000005A6 206F 0004 movea.l A0, [A7 + 0x4]
000005AA 2068 007E movea.l A0, [A0 + 0x7E]
000005AE B1ED 1302 cmpa.l A0, [A5 + 0x1302 /* export_604 */]
000005B2 6704 beq +0x6 /* 000005B8 */
000005B4 7000 moveq.l D0, 0x00
000005B6 6002 bra +0x4 /* 000005BA */
label000005B8:
000005B8 7001 moveq.l D0, 0x01
label000005BA:
000005BA 3F40 0008 move.w [A7 + 0x8], D0
000005BE 2E9F move.l [A7], [A7]+
000005C0 4E75 rts
fn000005C2:
000005C2 202D 12FA move.l D0, [A5 + 0x12FA /* export_603 */]
000005C6 4E75 rts
000005C8 302D 12F8 move.w D0, [A5 + 0x12F8]
000005CC 4E75 rts
000005CE 48E7 0030 movem.l -[A7], A2,A3
000005D2 4AAD 12FA tst.l [A5 + 0x12FA /* export_603 */]
000005D6 6644 bne +0x46 /* 0000061C */
000005D8 554F subq.w A7, 2
000005DA 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
000005DE 301F move.w D0, [A7]+
000005E0 3B40 12F8 move.w [A5 + 0x12F8], D0
000005E4 4EBA 0086 jsr [PC + 0x86 /* 0000066C */]
000005E8 2448 movea.l A2, A0
000005EA 2008 move.l D0, A0
000005EC 672E beq +0x30 /* 0000061C */
000005EE 4267 clr.w -[A7]
000005F0 31DF 0BAA move.w [0x00000BAA /* MBarHeight */], [A7]+
000005F4 594F subq.w A7, 4
000005F6 2EB8 09EE move.l [A7], [0x000009EE /* GrayRgn */]
000005FA 205F movea.l A0, [A7]+
000005FC 2648 movea.l A3, A0
000005FE 2008 move.l D0, A0
00000600 6710 beq +0x12 /* 00000612 */
00000602 2F0A move.l -[A7], A2
00000604 2F0B move.l -[A7], A3
00000606 2F0B move.l -[A7], A3
00000608 A8E5 syscall UnionRgn
0000060A 2F0A move.l -[A7], A2
0000060C 4EBA 00A8 jsr [PC + 0xA8 /* 000006B6 */]
00000610 584F addq.w A7, 4
label00000612:
00000612 2F0A move.l -[A7], A2
00000614 A8D9 syscall DisposRgn/DisposeRgn
00000616 7001 moveq.l D0, 0x01
00000618 2B40 12FA move.l [A5 + 0x12FA /* export_603 */], D0
label0000061C:
0000061C 4CDF 0C00 movem.l A2,A3, [A7]+
00000620 4E75 rts
fn00000622:
00000622 48E7 0030 movem.l -[A7], A2,A3
00000626 4AAD 12FA tst.l [A5 + 0x12FA /* export_603 */]
0000062A 673A beq +0x3C /* 00000666 */
0000062C 4EBA 003E jsr [PC + 0x3E /* 0000066C */]
00000630 2448 movea.l A2, A0
00000632 2008 move.l D0, A0
00000634 6730 beq +0x32 /* 00000666 */
00000636 3F2D 12F8 move.w -[A7], [A5 + 0x12F8]
0000063A 31DF 0BAA move.w [0x00000BAA /* MBarHeight */], [A7]+
0000063E 594F subq.w A7, 4
00000640 2EB8 09EE move.l [A7], [0x000009EE /* GrayRgn */]
00000644 205F movea.l A0, [A7]+
00000646 2648 movea.l A3, A0
00000648 2008 move.l D0, A0
0000064A 6710 beq +0x12 /* 0000065C */
0000064C 2F0B move.l -[A7], A3
0000064E 2F0A move.l -[A7], A2
00000650 2F0B move.l -[A7], A3
00000652 A8E6 syscall DiffRgn
00000654 2F0A move.l -[A7], A2
00000656 4EBA 005E jsr [PC + 0x5E /* 000006B6 */]
0000065A 584F addq.w A7, 4
label0000065C:
0000065C A937 syscall DrawMenuBar
0000065E 2F0A move.l -[A7], A2
00000660 A8D9 syscall DisposRgn/DisposeRgn
00000662 42AD 12FA clr.l [A5 + 0x12FA /* export_603 */]
label00000666:
00000666 4CDF 0C00 movem.l A2,A3, [A7]+
0000066A 4E75 rts
fn0000066C:
0000066C 2F0A move.l -[A7], A2
0000066E 514F subq.w A7, 8
00000670 594F subq.w A7, 4
00000672 A8D8 syscall NewRgn
00000674 205F movea.l A0, [A7]+
00000676 2448 movea.l A2, A0
00000678 2008 move.l D0, A0
0000067A 6608 bne +0xA /* 00000684 */
0000067C 91C8 sub.l A0, A0
0000067E 504F addq.w A7, 8
00000680 245F movea.l A2, [A7]+
00000682 4E75 rts
label00000684:
00000684 3EAD 1584 move.w [A7], [A5 + 0x1584]
00000688 3F6D 1586 0002 move.w [A7 + 0x2], [A5 + 0x1586]
0000068E 302D 12F8 move.w D0, [A5 + 0x12F8]
00000692 48C0 ext.l D0
00000694 322D 1584 move.w D1, [A5 + 0x1584]
00000698 48C1 ext.l D1
0000069A D280 add.l D1, D0
0000069C 3F41 0004 move.w [A7 + 0x4], D1
000006A0 3F6D 158A 0006 move.w [A7 + 0x6], [A5 + 0x158A /* export_685 */]
000006A6 2F0A move.l -[A7], A2
000006A8 486F 0004 pea.l [A7 + 0x4]
000006AC A8DF syscall RectRgn
000006AE 204A movea.l A0, A2
000006B0 504F addq.w A7, 8
000006B2 245F movea.l A2, [A7]+
000006B4 4E75 rts
fn000006B6:
000006B6 48E7 0030 movem.l -[A7], A2,A3
000006BA 266F 000C movea.l A3, [A7 + 0xC]
000006BE 594F subq.w A7, 4
000006C0 A924 syscall FrontWindow
000006C2 205F movea.l A0, [A7]+
000006C4 2448 movea.l A2, A0
000006C6 200A move.l D0, A2
000006C8 6716 beq +0x18 /* 000006E0 */
000006CA 2F0A move.l -[A7], A2
000006CC 2F0B move.l -[A7], A3
000006CE A90C syscall PaintOne
000006D0 2F0A move.l -[A7], A2
000006D2 2F0B move.l -[A7], A3
000006D4 A90D syscall PaintBehind
000006D6 2F0A move.l -[A7], A2
000006D8 A909 syscall CalcVis
000006DA 2F0A move.l -[A7], A2
000006DC 2F0B move.l -[A7], A3
000006DE A90A syscall CalcVBehind
label000006E0:
000006E0 4CDF 0C00 movem.l A2,A3, [A7]+
000006E4 4E75 rts
000006E6 4FEF FFF6 lea.l A7, [A7 - 0xA]
000006EA 2EAF 0010 move.l [A7], [A7 + 0x10]
000006EE 302F 000E move.w D0, [A7 + 0xE]
000006F2 48C0 ext.l D0
000006F4 2F40 0004 move.l [A7 + 0x4], D0
000006F8 554F subq.w A7, 2
000006FA 302D 135E move.w D0, [A5 + 0x135E]
000006FE 48C0 ext.l D0
00000700 0680 0000 0092 addi.l D0, 0x92
00000706 3F00 move.w -[A7], D0
00000708 486D DCB0 pea.l [A5 - 0x2350]
0000070C 42A7 clr.l -[A7]
0000070E 486F 000C pea.l [A7 + 0xC]
00000712 42A7 clr.l -[A7]
00000714 4EBA 2006 jsr [PC + 0x2006 /* 0000271C */]
00000718 301F move.w D0, [A7]+
0000071A 3F40 0014 move.w [A7 + 0x14], D0
0000071E 4FEF 000A lea.l A7, [A7 + 0xA]
00000722 205F movea.l A0, [A7]+
00000724 5C4F addq.w A7, 6
00000726 4ED0 jmp [A0]
00000728 48E7 0030 movem.l -[A7], A2,A3
0000072C 266F 000C movea.l A3, [A7 + 0xC]
00000730 594F subq.w A7, 4
00000732 2F0B move.l -[A7], A3
00000734 A917 syscall GetWRefCon
00000736 201F move.l D0, [A7]+
00000738 2440 movea.l A2, D0
0000073A 2F0B move.l -[A7], A3
0000073C 42A7 clr.l -[A7]
0000073E A918 syscall SetWRefCon
00000740 4A92 tst.l [A2]
00000742 6712 beq +0x14 /* 00000756 */
00000744 3F3C 0005 move.w -[A7], 0x5
00000748 2F0B move.l -[A7], A3
0000074A 4EBA 0F32 jsr [PC + 0xF32 /* 0000167E */]
0000074E 5C4F addq.w A7, 6
00000750 2F08 move.l -[A7], A0
00000752 2F12 move.l -[A7], [A2]
00000754 A98F syscall SetDialogItemText/SetIText
label00000756:
00000756 4AAA 0004 tst.l [A2 + 0x4]
0000075A 6616 bne +0x18 /* 00000772 */
0000075C 3F3C 0002 move.w -[A7], 0x2
00000760 2F0B move.l -[A7], A3
00000762 4EBA 0F1A jsr [PC + 0xF1A /* 0000167E */]
00000766 2448 movea.l A2, A0
00000768 200A move.l D0, A2
0000076A 5C4F addq.w A7, 6
0000076C 6704 beq +0x6 /* 00000772 */
0000076E 2F0A move.l -[A7], A2
00000770 A958 syscall HideControl
label00000772:
00000772 4CDF 0C00 movem.l A2,A3, [A7]+
00000776 2E9F move.l [A7], [A7]+
00000778 4E75 rts
0000077A 2B6F 0004 AB2C move.l [A5 - 0x54D4], [A7 + 0x4]
00000780 4E75 rts
00000782 4878 0001 push.l 0x1
00000786 2F2F 0008 move.l -[A7], [A7 + 0x8]
0000078A 4EBA 029A jsr [PC + 0x29A /* 00000A26 */]
0000078E 2008 move.l D0, A0
00000790 56C0 sne D0
00000792 4400 neg.b D0
00000794 4880 ext.w D0
00000796 48C0 ext.l D0
00000798 504F addq.w A7, 8
0000079A 4E75 rts
0000079C 2F0A move.l -[A7], A2
0000079E 42A7 clr.l -[A7]
000007A0 2F2F 000C move.l -[A7], [A7 + 0xC]
000007A4 4EBA 0280 jsr [PC + 0x280 /* 00000A26 */]
000007A8 2448 movea.l A2, A0
000007AA 2008 move.l D0, A0
000007AC 504F addq.w A7, 8
000007AE 6708 beq +0xA /* 000007B8 */
000007B0 2F0A move.l -[A7], A2
000007B2 4EBA 04B2 jsr [PC + 0x4B2 /* 00000C66 */]
000007B6 584F addq.w A7, 4
label000007B8:
000007B8 245F movea.l A2, [A7]+
000007BA 4E75 rts
000007BC 2B6F 0004 AB28 move.l [A5 - 0x54D8], [A7 + 0x4]
000007C2 2B6F 0008 AB24 move.l [A5 - 0x54DC], [A7 + 0x8]
000007C8 4E75 rts
000007CA 48E7 0030 movem.l -[A7], A2,A3
000007CE 5D4F subq.w A7, 6
000007D0 246F 0012 movea.l A2, [A7 + 0x12]
000007D4 4EBA 0A9E jsr [PC + 0xA9E /* 00001274 */]
000007D8 3F2A 0002 move.w -[A7], [A2 + 0x2]
000007DC 3F12 move.w -[A7], [A2]
000007DE A893 syscall MoveTo
000007E0 3F2A 0002 move.w -[A7], [A2 + 0x2]
000007E4 302A 0004 move.w D0, [A2 + 0x4]
000007E8 48C0 ext.l D0
000007EA 5580 subq.l D0, 2
000007EC 3F00 move.w -[A7], D0
000007EE A891 syscall LineTo
000007F0 302A 0006 move.w D0, [A2 + 0x6]
000007F4 48C0 ext.l D0
000007F6 5180 subq.l D0, 8
000007F8 3F00 move.w -[A7], D0
000007FA 302A 0004 move.w D0, [A2 + 0x4]
000007FE 48C0 ext.l D0
00000800 5580 subq.l D0, 2
00000802 3F00 move.w -[A7], D0
00000804 A891 syscall LineTo
00000806 302A 0006 move.w D0, [A2 + 0x6]
0000080A 48C0 ext.l D0
0000080C 5580 subq.l D0, 2
0000080E 3F00 move.w -[A7], D0
00000810 302A 0004 move.w D0, [A2 + 0x4]
00000814 48C0 ext.l D0
00000816 5180 subq.l D0, 8
00000818 3F00 move.w -[A7], D0
0000081A A891 syscall LineTo
0000081C 302A 0006 move.w D0, [A2 + 0x6]
00000820 48C0 ext.l D0
00000822 5580 subq.l D0, 2
00000824 3F00 move.w -[A7], D0
00000826 3F12 move.w -[A7], [A2]
00000828 A891 syscall LineTo
0000082A 3F2A 0002 move.w -[A7], [A2 + 0x2]
0000082E 3F12 move.w -[A7], [A2]
00000830 A891 syscall LineTo
00000832 302A 0002 move.w D0, [A2 + 0x2]
00000836 48C0 ext.l D0
00000838 5480 addq.l D0, 2
0000083A 3F00 move.w -[A7], D0
0000083C 302A 0004 move.w D0, [A2 + 0x4]
00000840 48C0 ext.l D0
00000842 5380 subq.l D0, 1
00000844 3F00 move.w -[A7], D0
00000846 A893 syscall MoveTo
00000848 302A 0006 move.w D0, [A2 + 0x6]
0000084C 48C0 ext.l D0
0000084E 5180 subq.l D0, 8
00000850 3F00 move.w -[A7], D0
00000852 302A 0004 move.w D0, [A2 + 0x4]
00000856 48C0 ext.l D0
00000858 5380 subq.l D0, 1
0000085A 3F00 move.w -[A7], D0
0000085C A891 syscall LineTo
0000085E 302A 0006 move.w D0, [A2 + 0x6]
00000862 48C0 ext.l D0
00000864 5380 subq.l D0, 1
00000866 3F00 move.w -[A7], D0
00000868 302A 0004 move.w D0, [A2 + 0x4]
0000086C 48C0 ext.l D0
0000086E 5180 subq.l D0, 8
00000870 3F00 move.w -[A7], D0
00000872 A891 syscall LineTo
00000874 302A 0006 move.w D0, [A2 + 0x6]
00000878 48C0 ext.l D0
0000087A 5380 subq.l D0, 1
0000087C 3F00 move.w -[A7], D0
0000087E 3012 move.w D0, [A2]
00000880 48C0 ext.l D0
00000882 5480 addq.l D0, 2
00000884 3F00 move.w -[A7], D0
00000886 A891 syscall LineTo
00000888 302A 0006 move.w D0, [A2 + 0x6]
0000088C 48C0 ext.l D0
0000088E 5180 subq.l D0, 8
00000890 3F00 move.w -[A7], D0
00000892 302A 0004 move.w D0, [A2 + 0x4]
00000896 48C0 ext.l D0
00000898 5580 subq.l D0, 2
0000089A 3F00 move.w -[A7], D0
0000089C A893 syscall MoveTo
0000089E 302A 0006 move.w D0, [A2 + 0x6]
000008A2 48C0 ext.l D0
000008A4 5180 subq.l D0, 8
000008A6 3F00 move.w -[A7], D0
000008A8 302A 0004 move.w D0, [A2 + 0x4]
000008AC 48C0 ext.l D0
000008AE 5180 subq.l D0, 8
000008B0 3F00 move.w -[A7], D0
000008B2 A891 syscall LineTo
000008B4 302A 0006 move.w D0, [A2 + 0x6]
000008B8 48C0 ext.l D0
000008BA 5580 subq.l D0, 2
000008BC 3F00 move.w -[A7], D0
000008BE 302A 0004 move.w D0, [A2 + 0x4]
000008C2 48C0 ext.l D0
000008C4 5180 subq.l D0, 8
000008C6 3F00 move.w -[A7], D0
000008C8 A891 syscall LineTo
000008CA 594F subq.w A7, 4
000008CC A8CB syscall OpenPoly
000008CE 205F movea.l A0, [A7]+
000008D0 2648 movea.l A3, A0
000008D2 200B move.l D0, A3
000008D4 6700 0144 beq +0x146 /* 00000A1A */
000008D8 302A 0002 move.w D0, [A2 + 0x2]
000008DC 48C0 ext.l D0
000008DE 5280 addq.l D0, 1
000008E0 3F00 move.w -[A7], D0
000008E2 3012 move.w D0, [A2]
000008E4 48C0 ext.l D0
000008E6 5280 addq.l D0, 1
000008E8 3F00 move.w -[A7], D0
000008EA A893 syscall MoveTo
000008EC 302A 0002 move.w D0, [A2 + 0x2]
000008F0 48C0 ext.l D0
000008F2 5280 addq.l D0, 1
000008F4 3F00 move.w -[A7], D0
000008F6 302A 0004 move.w D0, [A2 + 0x4]
000008FA 48C0 ext.l D0
000008FC 5580 subq.l D0, 2
000008FE 3F00 move.w -[A7], D0
00000900 A891 syscall LineTo
00000902 302A 0006 move.w D0, [A2 + 0x6]
00000906 48C0 ext.l D0
00000908 5180 subq.l D0, 8
0000090A 3F00 move.w -[A7], D0
0000090C 302A 0004 move.w D0, [A2 + 0x4]
00000910 48C0 ext.l D0
00000912 5580 subq.l D0, 2
00000914 3F00 move.w -[A7], D0
00000916 A891 syscall LineTo
00000918 302A 0006 move.w D0, [A2 + 0x6]
0000091C 48C0 ext.l D0
0000091E 5180 subq.l D0, 8
00000920 3F00 move.w -[A7], D0
00000922 302A 0004 move.w D0, [A2 + 0x4]
00000926 48C0 ext.l D0
00000928 5180 subq.l D0, 8
0000092A 3F00 move.w -[A7], D0
0000092C A891 syscall LineTo
0000092E 302A 0006 move.w D0, [A2 + 0x6]
00000932 48C0 ext.l D0
00000934 5580 subq.l D0, 2
00000936 3F00 move.w -[A7], D0
00000938 302A 0004 move.w D0, [A2 + 0x4]
0000093C 48C0 ext.l D0
0000093E 5180 subq.l D0, 8
00000940 3F00 move.w -[A7], D0
00000942 A891 syscall LineTo
00000944 302A 0006 move.w D0, [A2 + 0x6]
00000948 48C0 ext.l D0
0000094A 5580 subq.l D0, 2
0000094C 3F00 move.w -[A7], D0
0000094E 3012 move.w D0, [A2]
00000950 48C0 ext.l D0
00000952 5280 addq.l D0, 1
00000954 3F00 move.w -[A7], D0
00000956 A891 syscall LineTo
00000958 302A 0002 move.w D0, [A2 + 0x2]
0000095C 48C0 ext.l D0
0000095E 5280 addq.l D0, 1
00000960 3F00 move.w -[A7], D0
00000962 3012 move.w D0, [A2]
00000964 48C0 ext.l D0
00000966 5280 addq.l D0, 1
00000968 3F00 move.w -[A7], D0
0000096A A891 syscall LineTo
0000096C A8CC syscall ClosePoly/ClosePgon
0000096E 7000 moveq.l D0, 0x00
00000970 102D 81A0 move.b D0, [A5 - 0x7E60]
00000974 7202 moveq.l D1, 0x02
00000976 B081 cmp.l D0, D1
00000978 6D14 blt +0x16 /* 0000098E */
0000097A 3EBC FFFF move.w [A7], 0xFFFF
0000097E 3F7C FFFF 0002 move.w [A7 + 0x2], 0xFFFF
00000984 3F7C 7800 0004 move.w [A7 + 0x4], 0x7800 /* 'x\0' */
0000098A 4857 pea.l [A7]
0000098C AA15 syscall RGBBackColor
label0000098E:
0000098E 2F0B move.l -[A7], A3
00000990 A8C8 syscall ErasePoly
00000992 2F0B move.l -[A7], A3
00000994 A8CD syscall KillPoly
00000996 594F subq.w A7, 4
00000998 A8CB syscall OpenPoly
0000099A 205F movea.l A0, [A7]+
0000099C 2648 movea.l A3, A0
0000099E 200B move.l D0, A3
000009A0 6778 beq +0x7A /* 00000A1A */
000009A2 302A 0006 move.w D0, [A2 + 0x6]
000009A6 48C0 ext.l D0
000009A8 5F80 subq.l D0, 7
000009AA 3F00 move.w -[A7], D0
000009AC 302A 0004 move.w D0, [A2 + 0x4]
000009B0 48C0 ext.l D0
000009B2 5780 subq.l D0, 3
000009B4 3F00 move.w -[A7], D0
000009B6 A893 syscall MoveTo
000009B8 302A 0006 move.w D0, [A2 + 0x6]
000009BC 48C0 ext.l D0
000009BE 5F80 subq.l D0, 7
000009C0 3F00 move.w -[A7], D0
000009C2 302A 0004 move.w D0, [A2 + 0x4]
000009C6 48C0 ext.l D0
000009C8 5F80 subq.l D0, 7
000009CA 3F00 move.w -[A7], D0
000009CC A891 syscall LineTo
000009CE 302A 0006 move.w D0, [A2 + 0x6]
000009D2 48C0 ext.l D0
000009D4 5780 subq.l D0, 3
000009D6 3F00 move.w -[A7], D0
000009D8 302A 0004 move.w D0, [A2 + 0x4]
000009DC 48C0 ext.l D0
000009DE 5F80 subq.l D0, 7
000009E0 3F00 move.w -[A7], D0
000009E2 A891 syscall LineTo
000009E4 302A 0006 move.w D0, [A2 + 0x6]
000009E8 48C0 ext.l D0
000009EA 5F80 subq.l D0, 7
000009EC 3F00 move.w -[A7], D0
000009EE 302A 0004 move.w D0, [A2 + 0x4]
000009F2 48C0 ext.l D0
000009F4 5780 subq.l D0, 3
000009F6 3F00 move.w -[A7], D0
000009F8 A891 syscall LineTo
000009FA A8CC syscall ClosePoly/ClosePgon
000009FC 7000 moveq.l D0, 0x00
000009FE 102D 81A0 move.b D0, [A5 - 0x7E60]
00000A02 7202 moveq.l D1, 0x02
00000A04 B081 cmp.l D0, D1
00000A06 6D0A blt +0xC /* 00000A12 */
00000A08 3F7C CC00 0004 move.w [A7 + 0x4], 0xCC00
00000A0E 4857 pea.l [A7]
00000A10 AA15 syscall RGBBackColor
label00000A12:
00000A12 2F0B move.l -[A7], A3
00000A14 A8C8 syscall ErasePoly
00000A16 2F0B move.l -[A7], A3
00000A18 A8CD syscall KillPoly
label00000A1A:
00000A1A 4EBA 08DA jsr [PC + 0x8DA /* 000012F6 */]
00000A1E 5C4F addq.w A7, 6
00000A20 4CDF 0C00 movem.l A2,A3, [A7]+
00000A24 4E75 rts
fn00000A26:
00000A26 48E7 0038 movem.l -[A7], A2,A3,A4
00000A2A 286F 0010 movea.l A4, [A7 + 0x10]
00000A2E 246D AB20 movea.l A2, [A5 - 0x54E0]
00000A32 6012 bra +0x14 /* 00000A46 */
label00000A34:
00000A34 2652 movea.l A3, [A2]
00000A36 B9D3 cmpa.l A4, [A3]
00000A38 6608 bne +0xA /* 00000A42 */
00000A3A 204A movea.l A0, A2
00000A3C 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00000A40 4E75 rts
label00000A42:
00000A42 246B 000C movea.l A2, [A3 + 0xC]
label00000A46:
00000A46 200A move.l D0, A2
00000A48 66EA bne -0x14 /* 00000A34 */
00000A4A 4AAF 0014 tst.l [A7 + 0x14]
00000A4E 673A beq +0x3C /* 00000A8A */
00000A50 7018 moveq.l D0, 0x18
00000A52 A322 syscall NewHandleClear, flags=3
00000A54 2448 movea.l A2, A0
00000A56 2008 move.l D0, A0
00000A58 6608 bne +0xA /* 00000A62 */
00000A5A 91C8 sub.l A0, A0
00000A5C 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00000A60 4E75 rts
label00000A62:
00000A62 2652 movea.l A3, [A2]
00000A64 268C move.l [A3], A4
00000A66 276D AB1C 0010 move.l [A3 + 0x10], [A5 - 0x54E4]
00000A6C 4AAD AB20 tst.l [A5 - 0x54E0]
00000A70 6604 bne +0x6 /* 00000A76 */
00000A72 2B4A AB20 move.l [A5 - 0x54E0], A2
label00000A76:
00000A76 4AAD AB1C tst.l [A5 - 0x54E4]
00000A7A 670A beq +0xC /* 00000A86 */
00000A7C 206D AB1C movea.l A0, [A5 - 0x54E4]
00000A80 2050 movea.l A0, [A0]
00000A82 214A 000C move.l [A0 + 0xC], A2
label00000A86:
00000A86 2B4A AB1C move.l [A5 - 0x54E4], A2
label00000A8A:
00000A8A 204A movea.l A0, A2
00000A8C 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00000A90 4E75 rts
00000A92 48E7 0030 movem.l -[A7], A2,A3
00000A96 266F 000C movea.l A3, [A7 + 0xC]
00000A9A 594F subq.w A7, 4
00000A9C A8D8 syscall NewRgn
00000A9E 205F movea.l A0, [A7]+
00000AA0 2448 movea.l A2, A0
00000AA2 2008 move.l D0, A0
00000AA4 6608 bne +0xA /* 00000AAE */
00000AA6 91C8 sub.l A0, A0
00000AA8 4CDF 0C00 movem.l A2,A3, [A7]+
00000AAC 4E75 rts
label00000AAE:
00000AAE A8DA syscall OpenRgn
00000AB0 3F2B 0002 move.w -[A7], [A3 + 0x2]
00000AB4 3F13 move.w -[A7], [A3]
00000AB6 A893 syscall MoveTo
00000AB8 3F2B 0002 move.w -[A7], [A3 + 0x2]
00000ABC 302B 0004 move.w D0, [A3 + 0x4]
00000AC0 48C0 ext.l D0
00000AC2 5380 subq.l D0, 1
00000AC4 3F00 move.w -[A7], D0
00000AC6 A891 syscall LineTo
00000AC8 302B 0002 move.w D0, [A3 + 0x2]
00000ACC 48C0 ext.l D0
00000ACE 5280 addq.l D0, 1
00000AD0 3F00 move.w -[A7], D0
00000AD2 302B 0004 move.w D0, [A3 + 0x4]
00000AD6 48C0 ext.l D0
00000AD8 5380 subq.l D0, 1
00000ADA 3F00 move.w -[A7], D0
00000ADC A891 syscall LineTo
00000ADE 302B 0002 move.w D0, [A3 + 0x2]
00000AE2 48C0 ext.l D0
00000AE4 5280 addq.l D0, 1
00000AE6 3F00 move.w -[A7], D0
00000AE8 3F2B 0004 move.w -[A7], [A3 + 0x4]
00000AEC A891 syscall LineTo
00000AEE 302B 0006 move.w D0, [A3 + 0x6]
00000AF2 48C0 ext.l D0
00000AF4 5F80 subq.l D0, 7
00000AF6 3F00 move.w -[A7], D0
00000AF8 3F2B 0004 move.w -[A7], [A3 + 0x4]
00000AFC A891 syscall LineTo
00000AFE 3F2B 0006 move.w -[A7], [A3 + 0x6]
00000B02 302B 0004 move.w D0, [A3 + 0x4]
00000B06 48C0 ext.l D0
00000B08 5F80 subq.l D0, 7
00000B0A 3F00 move.w -[A7], D0
00000B0C A891 syscall LineTo
00000B0E 3F2B 0006 move.w -[A7], [A3 + 0x6]
00000B12 3013 move.w D0, [A3]
00000B14 48C0 ext.l D0
00000B16 5480 addq.l D0, 2
00000B18 3F00 move.w -[A7], D0
00000B1A A891 syscall LineTo
00000B1C 3F2B 0006 move.w -[A7], [A3 + 0x6]
00000B20 3013 move.w D0, [A3]
00000B22 48C0 ext.l D0
00000B24 5280 addq.l D0, 1
00000B26 3F00 move.w -[A7], D0
00000B28 A891 syscall LineTo
00000B2A 3F2B 0006 move.w -[A7], [A3 + 0x6]
00000B2E 3F13 move.w -[A7], [A3]
00000B30 A891 syscall LineTo
00000B32 3F2B 0002 move.w -[A7], [A3 + 0x2]
00000B36 3F13 move.w -[A7], [A3]
00000B38 A891 syscall LineTo
00000B3A 2F0A move.l -[A7], A2
00000B3C A8DB syscall CloseRgn
00000B3E 204A movea.l A0, A2
00000B40 4CDF 0C00 movem.l A2,A3, [A7]+
00000B44 4E75 rts
00000B46 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00000B4A 594F subq.w A7, 4
00000B4C 382F 001C move.w D4, [A7 + 0x1C]
00000B50 362F 001E move.w D3, [A7 + 0x1E]
00000B54 4A44 tst.w D4
00000B56 6604 bne +0x6 /* 00000B5C */
00000B58 4A43 tst.w D3
00000B5A 6752 beq +0x54 /* 00000BAE */
label00000B5C:
00000B5C 42A7 clr.l -[A7]
00000B5E 486F 0004 pea.l [A7 + 0x4]
00000B62 2F2F 0020 move.l -[A7], [A7 + 0x20]
00000B66 4EBA 004E jsr [PC + 0x4E /* 00000BB6 */]
00000B6A 2648 movea.l A3, A0
00000B6C 2008 move.l D0, A0
00000B6E 4FEF 000C lea.l A7, [A7 + 0xC]
00000B72 6736 beq +0x38 /* 00000BAA */
00000B74 2453 movea.l A2, [A3]
00000B76 D96A 0014 add.w [A2 + 0x14], D4
00000B7A D76A 0016 add.w [A2 + 0x16], D3
00000B7E 602A bra +0x2C /* 00000BAA */
label00000B80:
00000B80 2F17 move.l -[A7], [A7]
00000B82 4EBA 07EE jsr [PC + 0x7EE /* 00001372 */]
00000B86 2448 movea.l A2, A0
00000B88 2F0A move.l -[A7], A2
00000B8A 3F04 move.w -[A7], D4
00000B8C 3F03 move.w -[A7], D3
00000B8E A8A8 syscall OffsetRect
00000B90 2F0A move.l -[A7], A2
00000B92 4EBA 006C jsr [PC + 0x6C /* 00000C00 */]
00000B96 266A 0008 movea.l A3, [A2 + 0x8]
00000B9A 2F2F 0008 move.l -[A7], [A7 + 0x8]
00000B9E 4EBA 0808 jsr [PC + 0x808 /* 000013A8 */]
00000BA2 2F4B 000C move.l [A7 + 0xC], A3
00000BA6 4FEF 000C lea.l A7, [A7 + 0xC]
label00000BAA:
00000BAA 4A97 tst.l [A7]
00000BAC 66D2 bne -0x2C /* 00000B80 */
label00000BAE:
00000BAE 584F addq.w A7, 4
00000BB0 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00000BB4 4E75 rts
fn00000BB6:
00000BB6 48E7 041A movem.l -[A7], D5,A3,A4,A6
00000BBA 222F 0014 move.l D1, [A7 + 0x14]
00000BBE 2A2F 0018 move.l D5, [A7 + 0x18]
00000BC2 242F 001C move.l D2, [A7 + 0x1C]
00000BC6 266D AB20 movea.l A3, [A5 - 0x54E0]
00000BCA 99CC sub.l A4, A4
00000BCC 9DCE sub.l A6, A6
00000BCE 6014 bra +0x16 /* 00000BE4 */
label00000BD0:
00000BD0 2253 movea.l A1, [A3]
00000BD2 B291 cmp.l D1, [A1]
00000BD4 660A bne +0xC /* 00000BE0 */
00000BD6 2869 0004 movea.l A4, [A1 + 0x4]
00000BDA 2C69 0008 movea.l A6, [A1 + 0x8]
00000BDE 6008 bra +0xA /* 00000BE8 */
label00000BE0:
00000BE0 2669 000C movea.l A3, [A1 + 0xC]
label00000BE4:
00000BE4 200B move.l D0, A3
00000BE6 66E8 bne -0x16 /* 00000BD0 */
label00000BE8:
00000BE8 4A85 tst.l D5
00000BEA 6704 beq +0x6 /* 00000BF0 */
00000BEC 2045 movea.l A0, D5
00000BEE 208C move.l [A0], A4
label00000BF0:
00000BF0 4A82 tst.l D2
00000BF2 6704 beq +0x6 /* 00000BF8 */
00000BF4 2042 movea.l A0, D2
00000BF6 208E move.l [A0], A6
label00000BF8:
00000BF8 204B movea.l A0, A3
00000BFA 4CDF 5820 movem.l D5,A3,A4,A6, [A7]+
00000BFE 4E75 rts
fn00000C00:
00000C00 48E7 0030 movem.l -[A7], A2,A3
00000C04 266F 000C movea.l A3, [A7 + 0xC]
00000C08 206B 0018 movea.l A0, [A3 + 0x18]
00000C0C 2450 movea.l A2, [A0]
00000C0E 486A 0008 pea.l [A2 + 0x8]
00000C12 2F0B move.l -[A7], A3
00000C14 4EBA 001A jsr [PC + 0x1A /* 00000C30 */]
00000C18 24AA 0008 move.l [A2], [A2 + 0x8]
00000C1C 256A 000C 0004 move.l [A2 + 0x4], [A2 + 0xC]
00000C22 2F2B 0018 move.l -[A7], [A3 + 0x18]
00000C26 A9D0 syscall TECalText
00000C28 504F addq.w A7, 8
00000C2A 4CDF 0C00 movem.l A2,A3, [A7]+
00000C2E 4E75 rts
fn00000C30:
00000C30 226F 0004 movea.l A1, [A7 + 0x4]
00000C34 206F 0008 movea.l A0, [A7 + 0x8]
00000C38 3029 0002 move.w D0, [A1 + 0x2]
00000C3C 48C0 ext.l D0
00000C3E 5A80 addq.l D0, 5
00000C40 3140 0002 move.w [A0 + 0x2], D0
00000C44 3011 move.w D0, [A1]
00000C46 48C0 ext.l D0
00000C48 5E80 addq.l D0, 7
00000C4A 3080 move.w [A0], D0
00000C4C 3029 0006 move.w D0, [A1 + 0x6]
00000C50 48C0 ext.l D0
00000C52 5F80 subq.l D0, 7
00000C54 3140 0006 move.w [A0 + 0x6], D0
00000C58 3029 0004 move.w D0, [A1 + 0x4]
00000C5C 48C0 ext.l D0
00000C5E 5180 subq.l D0, 8
00000C60 3140 0004 move.w [A0 + 0x4], D0
00000C64 4E75 rts
fn00000C66:
00000C66 48E7 0030 movem.l -[A7], A2,A3
00000C6A 266F 000C movea.l A3, [A7 + 0xC]
00000C6E 2453 movea.l A2, [A3]
00000C70 B7ED AB20 cmpa.l A3, [A5 - 0x54E0]
00000C74 6706 beq +0x8 /* 00000C7C */
00000C76 B7ED AB1C cmpa.l A3, [A5 - 0x54E4]
00000C7A 6632 bne +0x34 /* 00000CAE */
label00000C7C:
00000C7C B7ED AB20 cmpa.l A3, [A5 - 0x54E0]
00000C80 6612 bne +0x14 /* 00000C94 */
00000C82 2B6A 000C AB20 move.l [A5 - 0x54E0], [A2 + 0xC]
00000C88 670A beq +0xC /* 00000C94 */
00000C8A 206D AB20 movea.l A0, [A5 - 0x54E0]
00000C8E 2050 movea.l A0, [A0]
00000C90 42A8 0010 clr.l [A0 + 0x10]
label00000C94:
00000C94 B7ED AB1C cmpa.l A3, [A5 - 0x54E4]
00000C98 6638 bne +0x3A /* 00000CD2 */
00000C9A 2B6A 0010 AB1C move.l [A5 - 0x54E4], [A2 + 0x10]
00000CA0 6730 beq +0x32 /* 00000CD2 */
00000CA2 206A 0010 movea.l A0, [A2 + 0x10]
00000CA6 2050 movea.l A0, [A0]
00000CA8 42A8 000C clr.l [A0 + 0xC]
00000CAC 6024 bra +0x26 /* 00000CD2 */
label00000CAE:
00000CAE 4AAA 0010 tst.l [A2 + 0x10]
00000CB2 670C beq +0xE /* 00000CC0 */
00000CB4 206A 0010 movea.l A0, [A2 + 0x10]
00000CB8 2050 movea.l A0, [A0]
00000CBA 216A 000C 000C move.l [A0 + 0xC], [A2 + 0xC]
label00000CC0:
00000CC0 4AAA 000C tst.l [A2 + 0xC]
00000CC4 670C beq +0xE /* 00000CD2 */
00000CC6 206A 000C movea.l A0, [A2 + 0xC]
00000CCA 2050 movea.l A0, [A0]
00000CCC 216A 0010 0010 move.l [A0 + 0x10], [A2 + 0x10]
label00000CD2:
00000CD2 204B movea.l A0, A3
00000CD4 A023 syscall DisposHandle/DisposeHandle
00000CD6 4CDF 0C00 movem.l A2,A3, [A7]+
00000CDA 4E75 rts
00000CDC 594F subq.w A7, 4
00000CDE 554F subq.w A7, 2
00000CE0 2F3C 7164 2020 move.l -[A7], 0x71642020 /* 'qd ' */
00000CE6 486F 0006 pea.l [A7 + 0x6]
00000CEA 4EAD DA66 jsr [A5 - 0x259A]
00000CEE 301F move.w D0, [A7]+
00000CF0 6626 bne +0x28 /* 00000D18 */
00000CF2 2017 move.l D0, [A7]
00000CF4 670A beq +0xC /* 00000D00 */
00000CF6 0480 0000 0100 subi.l D0, 0x100
00000CFC 670A beq +0xC /* 00000D08 */
00000CFE 6010 bra +0x12 /* 00000D10 */
label00000D00:
00000D00 1B7C 0001 81A0 move.b [A5 - 0x7E60], 0x1
00000D06 6016 bra +0x18 /* 00000D1E */
label00000D08:
00000D08 1B7C 0002 81A0 move.b [A5 - 0x7E60], 0x2
00000D0E 600E bra +0x10 /* 00000D1E */
label00000D10:
00000D10 1B7C 0003 81A0 move.b [A5 - 0x7E60], 0x3
00000D16 6006 bra +0x8 /* 00000D1E */
label00000D18:
00000D18 1B7C 0001 81A0 move.b [A5 - 0x7E60], 0x1
label00000D1E:
00000D1E 7000 moveq.l D0, 0x00
00000D20 102D 81A0 move.b D0, [A5 - 0x7E60]
00000D24 584F addq.w A7, 4
00000D26 4E75 rts
00000D28 206F 0008 movea.l A0, [A7 + 0x8]
00000D2C 226F 0004 movea.l A1, [A7 + 0x4]
00000D30 22D8 move.l [A1]+, [A0]+
00000D32 22D8 move.l [A1]+, [A0]+
00000D34 4A6F 000C tst.w [A7 + 0xC]
00000D38 670A beq +0xC /* 00000D44 */
00000D3A 4EAD E0B0 jsr [A5 - 0x1F50]
00000D3E 206F 0004 movea.l A0, [A7 + 0x4]
00000D42 D150 add.w [A0], D0
label00000D44:
00000D44 4E75 rts
fn00000D46:
00000D46 48E7 1030 movem.l -[A7], D3,A2,A3
00000D4A 4FEF FFF0 lea.l A7, [A7 - 0x10]
00000D4E 246F 0020 movea.l A2, [A7 + 0x20]
00000D52 266F 0024 movea.l A3, [A7 + 0x24]
00000D56 362F 0028 move.w D3, [A7 + 0x28]
00000D5A 4857 pea.l [A7]
00000D5C 2F0B move.l -[A7], A3
00000D5E 4EBA 009C jsr [PC + 0x9C /* 00000DFC */]
00000D62 2F6B 0010 0010 move.l [A7 + 0x10], [A3 + 0x10]
00000D68 2F6B 0014 0014 move.l [A7 + 0x14], [A3 + 0x14]
00000D6E 2F0B move.l -[A7], A3
00000D70 4EBA 03DC jsr [PC + 0x3DC /* 0000114E */]
00000D74 486F 0014 pea.l [A7 + 0x14]
00000D78 A870 syscall LocalToGlobal
00000D7A 486F 0018 pea.l [A7 + 0x18]
00000D7E A870 syscall LocalToGlobal
00000D80 4EBA 03EE jsr [PC + 0x3EE /* 00001170 */]
00000D84 3003 move.w D0, D3
00000D86 48C0 ext.l D0
00000D88 322F 000C move.w D1, [A7 + 0xC]
00000D8C 48C1 ext.l D1
00000D8E 342F 0014 move.w D2, [A7 + 0x14]
00000D92 48C2 ext.l D2
00000D94 9481 sub.l D2, D1
00000D96 2202 move.l D1, D2
00000D98 4EAD D8F8 jsr [A5 - 0x2708]
00000D9C D152 add.w [A2], D0
00000D9E 3003 move.w D0, D3
00000DA0 48C0 ext.l D0
00000DA2 322F 000E move.w D1, [A7 + 0xE]
00000DA6 48C1 ext.l D1
00000DA8 342F 0016 move.w D2, [A7 + 0x16]
00000DAC 48C2 ext.l D2
00000DAE 9481 sub.l D2, D1
00000DB0 2202 move.l D1, D2
00000DB2 4EAD D8F8 jsr [A5 - 0x2708]
00000DB6 D16A 0002 add.w [A2 + 0x2], D0
00000DBA 3003 move.w D0, D3
00000DBC 48C0 ext.l D0
00000DBE 322F 0018 move.w D1, [A7 + 0x18]
00000DC2 48C1 ext.l D1
00000DC4 342F 0010 move.w D2, [A7 + 0x10]
00000DC8 48C2 ext.l D2
00000DCA 9481 sub.l D2, D1
00000DCC 2202 move.l D1, D2
00000DCE 4EAD D8F8 jsr [A5 - 0x2708]
00000DD2 916A 0004 sub.w [A2 + 0x4], D0
00000DD6 3003 move.w D0, D3
00000DD8 48C0 ext.l D0
00000DDA 322F 001A move.w D1, [A7 + 0x1A]
00000DDE 48C1 ext.l D1
00000DE0 342F 0012 move.w D2, [A7 + 0x12]
00000DE4 48C2 ext.l D2
00000DE6 9481 sub.l D2, D1
00000DE8 2202 move.l D1, D2
00000DEA 4EAD D8F8 jsr [A5 - 0x2708]
00000DEE 916A 0006 sub.w [A2 + 0x6], D0
00000DF2 4FEF 001C lea.l A7, [A7 + 0x1C]
00000DF6 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00000DFA 4E75 rts
fn00000DFC:
00000DFC 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00000E00 282F 0020 move.l D4, [A7 + 0x20]
00000E04 97CB sub.l A3, A3
00000E06 99CC sub.l A4, A4
00000E08 246F 001C movea.l A2, [A7 + 0x1C]
00000E0C 4A2A 006E tst.b [A2 + 0x6E]
00000E10 6718 beq +0x1A /* 00000E2A */
00000E12 206A 0072 movea.l A0, [A2 + 0x72]
00000E16 2050 movea.l A0, [A0]
00000E18 2244 movea.l A1, D4
00000E1A 22A8 0002 move.l [A1], [A0 + 0x2]
00000E1E 2368 0006 0004 move.l [A1 + 0x4], [A0 + 0x6]
00000E24 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00000E28 4E75 rts
label00000E2A:
00000E2A 594F subq.w A7, 4
00000E2C A8D8 syscall NewRgn
00000E2E 205F movea.l A0, [A7]+
00000E30 2648 movea.l A3, A0
00000E32 2008 move.l D0, A0
00000E34 6700 0090 beq +0x92 /* 00000EC6 */
00000E38 594F subq.w A7, 4
00000E3A A8D8 syscall NewRgn
00000E3C 205F movea.l A0, [A7]+
00000E3E 2848 movea.l A4, A0
00000E40 2008 move.l D0, A0
00000E42 6700 0082 beq +0x84 /* 00000EC6 */
00000E46 2F2A 0072 move.l -[A7], [A2 + 0x72]
00000E4A 2F0B move.l -[A7], A3
00000E4C A8DC syscall CopyRgn
00000E4E 2F2A 0076 move.l -[A7], [A2 + 0x76]
00000E52 2F0C move.l -[A7], A4
00000E54 A8DC syscall CopyRgn
00000E56 206A 007E movea.l A0, [A2 + 0x7E]
00000E5A A069 syscall HGetState
00000E5C 1600 move.b D3, D0
00000E5E 2F2A 007E move.l -[A7], [A2 + 0x7E]
00000E62 A9A2 syscall LoadResource
00000E64 206A 007E movea.l A0, [A2 + 0x7E]
00000E68 A04A syscall HNoPurge
00000E6A 206A 007E movea.l A0, [A2 + 0x7E]
00000E6E A029 syscall HLock
00000E70 206A 007E movea.l A0, [A2 + 0x7E]
00000E74 2C50 movea.l A6, [A0]
00000E76 594F subq.w A7, 4
00000E78 554F subq.w A7, 2
00000E7A 2F0A move.l -[A7], A2
00000E7C A80A syscall GetWVariant
00000E7E 301F move.w D0, [A7]+
00000E80 3F00 move.w -[A7], D0
00000E82 2F0A move.l -[A7], A2
00000E84 3F3C 0002 move.w -[A7], 0x2
00000E88 42A7 clr.l -[A7]
00000E8A 4E96 jsr [A6]
00000E8C 201F move.l D0, [A7]+
00000E8E 206A 0072 movea.l A0, [A2 + 0x72]
00000E92 2050 movea.l A0, [A0]
00000E94 2244 movea.l A1, D4
00000E96 22A8 0002 move.l [A1], [A0 + 0x2]
00000E9A 2368 0006 0004 move.l [A1 + 0x4], [A0 + 0x6]
00000EA0 206A 007E movea.l A0, [A2 + 0x7E]
00000EA4 1003 move.b D0, D3
00000EA6 A06A syscall HSetState
00000EA8 2F0B move.l -[A7], A3
00000EAA 2F2A 0072 move.l -[A7], [A2 + 0x72]
00000EAE A8DC syscall CopyRgn
00000EB0 2F0C move.l -[A7], A4
00000EB2 2F2A 0076 move.l -[A7], [A2 + 0x76]
00000EB6 A8DC syscall CopyRgn
00000EB8 2F0B move.l -[A7], A3
00000EBA A8D9 syscall DisposRgn/DisposeRgn
00000EBC 2F0C move.l -[A7], A4
00000EBE A8D9 syscall DisposRgn/DisposeRgn
00000EC0 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00000EC4 4E75 rts
label00000EC6:
00000EC6 2044 movea.l A0, D4
00000EC8 4268 0004 clr.w [A0 + 0x4]
00000ECC 4250 clr.w [A0]
00000ECE 4268 0006 clr.w [A0 + 0x6]
00000ED2 4268 0002 clr.w [A0 + 0x2]
00000ED6 200B move.l D0, A3
00000ED8 6704 beq +0x6 /* 00000EDE */
00000EDA 2F0B move.l -[A7], A3
00000EDC A8D9 syscall DisposRgn/DisposeRgn
label00000EDE:
00000EDE 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00000EE2 4E75 rts
fn00000EE4:
00000EE4 48E7 0030 movem.l -[A7], A2,A3
00000EE8 4FEF FFF0 lea.l A7, [A7 - 0x10]
00000EEC 266F 001C movea.l A3, [A7 + 0x1C]
00000EF0 246F 0020 movea.l A2, [A7 + 0x20]
00000EF4 486F 0008 pea.l [A7 + 0x8]
00000EF8 2F0B move.l -[A7], A3
00000EFA 4EBA FF00 jsr [PC - 0x100 /* 00000DFC */]
00000EFE 2F6B 0010 0008 move.l [A7 + 0x8], [A3 + 0x10]
00000F04 2F6B 0014 000C move.l [A7 + 0xC], [A3 + 0x14]
00000F0A 2F0B move.l -[A7], A3
00000F0C 4EBA 0240 jsr [PC + 0x240 /* 0000114E */]
00000F10 486F 000C pea.l [A7 + 0xC]
00000F14 A870 syscall LocalToGlobal
00000F16 486F 0010 pea.l [A7 + 0x10]
00000F1A A870 syscall LocalToGlobal
00000F1C 4EBA 0252 jsr [PC + 0x252 /* 00001170 */]
00000F20 34AF 0014 move.w [A2], [A7 + 0x14]
00000F24 356F 0016 0002 move.w [A2 + 0x2], [A7 + 0x16]
00000F2A 356F 001A 0006 move.w [A2 + 0x6], [A7 + 0x1A]
00000F30 356F 000C 0004 move.w [A2 + 0x4], [A7 + 0xC]
00000F36 2F0A move.l -[A7], A2
00000F38 302F 0016 move.w D0, [A7 + 0x16]
00000F3C 48C0 ext.l D0
00000F3E 322F 001E move.w D1, [A7 + 0x1E]
00000F42 48C1 ext.l D1
00000F44 9280 sub.l D1, D0
00000F46 302F 001A move.w D0, [A7 + 0x1A]
00000F4A 48C0 ext.l D0
00000F4C 342F 0012 move.w D2, [A7 + 0x12]
00000F50 48C2 ext.l D2
00000F52 9480 sub.l D2, D0
00000F54 D481 add.l D2, D1
00000F56 3F02 move.w -[A7], D2
00000F58 302F 0016 move.w D0, [A7 + 0x16]
00000F5C 48C0 ext.l D0
00000F5E 322F 001E move.w D1, [A7 + 0x1E]
00000F62 48C1 ext.l D1
00000F64 9280 sub.l D1, D0
00000F66 3F01 move.w -[A7], D1
00000F68 A8A9 syscall InsetRect
00000F6A 4FEF 001C lea.l A7, [A7 + 0x1C]
00000F6E 4CDF 0C00 movem.l A2,A3, [A7]+
00000F72 4E75 rts
fn00000F74:
00000F74 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
00000F78 4FEF FFE0 lea.l A7, [A7 - 0x20]
00000F7C 246F 0034 movea.l A2, [A7 + 0x34]
00000F80 2EAA 0010 move.l [A7], [A2 + 0x10]
00000F84 2F6A 0014 0004 move.l [A7 + 0x4], [A2 + 0x14]
00000F8A 7800 moveq.l D4, 0x00
00000F8C 7600 moveq.l D3, 0x00
00000F8E 2F0A move.l -[A7], A2
00000F90 4EBA 01BC jsr [PC + 0x1BC /* 0000114E */]
00000F94 486F 0004 pea.l [A7 + 0x4]
00000F98 A870 syscall LocalToGlobal
00000F9A 486F 0008 pea.l [A7 + 0x8]
00000F9E A870 syscall LocalToGlobal
00000FA0 4EBA 01CE jsr [PC + 0x1CE /* 00001170 */]
00000FA4 486F 0014 pea.l [A7 + 0x14]
00000FA8 2F0A move.l -[A7], A2
00000FAA 4EBA FF38 jsr [PC - 0xC8 /* 00000EE4 */]
00000FAE 486F 001C pea.l [A7 + 0x1C]
00000FB2 302F 0012 move.w D0, [A7 + 0x12]
00000FB6 48C0 ext.l D0
00000FB8 322F 004A move.w D1, [A7 + 0x4A]
00000FBC 48C1 ext.l D1
00000FBE 9280 sub.l D1, D0
00000FC0 3F01 move.w -[A7], D1
00000FC2 302F 0012 move.w D0, [A7 + 0x12]
00000FC6 48C0 ext.l D0
00000FC8 322F 004A move.w D1, [A7 + 0x4A]
00000FCC 48C1 ext.l D1
00000FCE 9280 sub.l D1, D0
00000FD0 3F01 move.w -[A7], D1
00000FD2 A8A8 syscall OffsetRect
00000FD4 302F 000E move.w D0, [A7 + 0xE]
00000FD8 48C0 ext.l D0
00000FDA 322F 0012 move.w D1, [A7 + 0x12]
00000FDE 48C1 ext.l D1
00000FE0 9280 sub.l D1, D0
00000FE2 302F 0048 move.w D0, [A7 + 0x48]
00000FE6 48C0 ext.l D0
00000FE8 9081 sub.l D0, D1
00000FEA D16F 0022 add.w [A7 + 0x22], D0
00000FEE 7000 moveq.l D0, 0x00
00000FF0 102D 81A0 move.b D0, [A5 - 0x7E60]
00000FF4 7202 moveq.l D1, 0x02
00000FF6 B081 cmp.l D0, D1
00000FF8 4FEF 000C lea.l A7, [A7 + 0xC]
00000FFC 6D00 0086 blt +0x88 /* 00001084 */
00001000 594F subq.w A7, 4
00001002 AA29 syscall GetDeviceList
00001004 205F movea.l A0, [A7]+
00001006 2448 movea.l A2, A0
00001008 6074 bra +0x76 /* 0000107E */
label0000100A:
0000100A 554F subq.w A7, 2
0000100C 2F0A move.l -[A7], A2
0000100E 3F3C 000D move.w -[A7], 0xD /* '\r' */
00001012 AA2C syscall TestDeviceAttribute
00001014 101F move.b D0, [A7]+
00001016 675C beq +0x5E /* 00001074 */
00001018 554F subq.w A7, 2
0000101A 2F0A move.l -[A7], A2
0000101C 3F3C 000F move.w -[A7], 0xF
00001020 AA2C syscall TestDeviceAttribute
00001022 101F move.b D0, [A7]+
00001024 674E beq +0x50 /* 00001074 */
00001026 2052 movea.l A0, [A2]
00001028 2F68 0022 0018 move.l [A7 + 0x18], [A0 + 0x22]
0000102E 2F68 0026 001C move.l [A7 + 0x1C], [A0 + 0x26]
00001034 594F subq.w A7, 4
00001036 AA2A syscall GetMainDevice
00001038 205F movea.l A0, [A7]+
0000103A B5C8 cmpa.l A2, A0
0000103C 6608 bne +0xA /* 00001046 */
0000103E 4EAD E0B0 jsr [A5 - 0x1F50]
00001042 D16F 0018 add.w [A7 + 0x18], D0
label00001046:
00001046 302F 0018 move.w D0, [A7 + 0x18]
0000104A 48C0 ext.l D0
0000104C 3A2F 001C move.w D5, [A7 + 0x1C]
00001050 48C5 ext.l D5
00001052 9A80 sub.l D5, D0
00001054 3003 move.w D0, D3
00001056 48C0 ext.l D0
00001058 BA80 cmp.l D5, D0
0000105A 6F02 ble +0x4 /* 0000105E */
0000105C 3605 move.w D3, D5
label0000105E:
0000105E 554F subq.w A7, 2
00001060 486F 0012 pea.l [A7 + 0x12]
00001064 486F 001E pea.l [A7 + 0x1E]
00001068 486F 0012 pea.l [A7 + 0x12]
0000106C A8AA syscall SectRect
0000106E 101F move.b D0, [A7]+
00001070 6702 beq +0x4 /* 00001074 */
00001072 7801 moveq.l D4, 0x01
label00001074:
00001074 594F subq.w A7, 4
00001076 2F0A move.l -[A7], A2
00001078 AA2B syscall GetNextDevice
0000107A 205F movea.l A0, [A7]+
0000107C 2448 movea.l A2, A0
label0000107E:
0000107E 200A move.l D0, A2
00001080 6688 bne -0x76 /* 0000100A */
00001082 603A bra +0x3C /* 000010BE */
label00001084:
00001084 2F6D 1584 0018 move.l [A7 + 0x18], [A5 + 0x1584]
0000108A 2F6D 1588 001C move.l [A7 + 0x1C], [A5 + 0x1588]
00001090 4EAD E0B0 jsr [A5 - 0x1F50]
00001094 D16F 0018 add.w [A7 + 0x18], D0
00001098 302F 0018 move.w D0, [A7 + 0x18]
0000109C 48C0 ext.l D0
0000109E 362F 001C move.w D3, [A7 + 0x1C]
000010A2 48C3 ext.l D3
000010A4 9680 sub.l D3, D0
000010A6 554F subq.w A7, 2
000010A8 486F 001A pea.l [A7 + 0x1A]
000010AC 486F 0016 pea.l [A7 + 0x16]
000010B0 486F 0012 pea.l [A7 + 0x12]
000010B4 A8AA syscall SectRect
000010B6 101F move.b D0, [A7]+
000010B8 7200 moveq.l D1, 0x00
000010BA 1200 move.b D1, D0
000010BC 2801 move.l D4, D1
label000010BE:
000010BE 4A84 tst.l D4
000010C0 6734 beq +0x36 /* 000010F6 */
000010C2 4A6F 0040 tst.w [A7 + 0x40]
000010C6 672E beq +0x30 /* 000010F6 */
000010C8 3003 move.w D0, D3
000010CA 48C0 ext.l D0
000010CC 7210 moveq.l D1, 0x10
000010CE D081 add.l D0, D1
000010D0 322F 0010 move.w D1, [A7 + 0x10]
000010D4 48C1 ext.l D1
000010D6 342F 0014 move.w D2, [A7 + 0x14]
000010DA 48C2 ext.l D2
000010DC 9481 sub.l D2, D1
000010DE 322F 003E move.w D1, [A7 + 0x3E]
000010E2 48C1 ext.l D1
000010E4 D282 add.l D1, D2
000010E6 B280 cmp.l D1, D0
000010E8 6F0C ble +0xE /* 000010F6 */
000010EA 7000 moveq.l D0, 0x00
000010EC 4FEF 0020 lea.l A7, [A7 + 0x20]
000010F0 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
000010F4 4E75 rts
label000010F6:
000010F6 3004 move.w D0, D4
000010F8 4FEF 0020 lea.l A7, [A7 + 0x20]
000010FC 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00001100 4E75 rts
00001102 2F0A move.l -[A7], A2
00001104 4FEF FFF0 lea.l A7, [A7 - 0x10]
00001108 246F 0018 movea.l A2, [A7 + 0x18]
0000110C 4857 pea.l [A7]
0000110E 2F0A move.l -[A7], A2
00001110 4EBA FCEA jsr [PC - 0x316 /* 00000DFC */]
00001114 2F6A 0010 0010 move.l [A7 + 0x10], [A2 + 0x10]
0000111A 2F6A 0014 0014 move.l [A7 + 0x14], [A2 + 0x14]
00001120 2F0A move.l -[A7], A2
00001122 4EBA 002A jsr [PC + 0x2A /* 0000114E */]
00001126 486F 0014 pea.l [A7 + 0x14]
0000112A A870 syscall LocalToGlobal
0000112C 486F 0018 pea.l [A7 + 0x18]
00001130 A870 syscall LocalToGlobal
00001132 4EBA 003C jsr [PC + 0x3C /* 00001170 */]
00001136 302F 000C move.w D0, [A7 + 0xC]
0000113A 48C0 ext.l D0
0000113C 322F 0014 move.w D1, [A7 + 0x14]
00001140 48C1 ext.l D1
00001142 9280 sub.l D1, D0
00001144 3001 move.w D0, D1
00001146 4FEF 001C lea.l A7, [A7 + 0x1C]
0000114A 245F movea.l A2, [A7]+
0000114C 4E75 rts
fn0000114E:
0000114E 202D 800C move.l D0, [A5 - 0x7FF4]
00001152 52AD 800C addq.l [A5 - 0x7FF4], 1
00001156 E588 lsl D0, 2
00001158 41ED 8010 lea.l A0, [A5 - 0x7FF0]
0000115C 4870 0800 pea.l [A0 + D0]
00001160 A874 syscall GetPort
00001162 4AAF 0004 tst.l [A7 + 0x4]
00001166 6706 beq +0x8 /* 0000116E */
00001168 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000116C A873 syscall SetPort
label0000116E:
0000116E 4E75 rts
fn00001170:
00001170 53AD 800C subq.l [A5 - 0x7FF4], 1
00001174 202D 800C move.l D0, [A5 - 0x7FF4]
00001178 E588 lsl D0, 2
0000117A 41ED 8010 lea.l A0, [A5 - 0x7FF0]
0000117E 2F30 0800 move.l -[A7], [A0 + D0]
00001182 A873 syscall SetPort
00001184 4E75 rts
fn00001186:
00001186 2F0A move.l -[A7], A2
00001188 202D 8008 move.l D0, [A5 - 0x7FF8]
0000118C E588 lsl D0, 2
0000118E 41ED 0028 lea.l A0, [A5 + 0x28]
00001192 D1C0 add.l A0, D0
00001194 2448 movea.l A2, A0
00001196 594F subq.w A7, 4
00001198 A8D8 syscall NewRgn
0000119A 205F movea.l A0, [A7]+
0000119C 2488 move.l [A2], A0
0000119E 2008 move.l D0, A0
000011A0 6704 beq +0x6 /* 000011A6 */
000011A2 2F12 move.l -[A7], [A2]
000011A4 A87A syscall GetClip
label000011A6:
000011A6 52AD 8008 addq.l [A5 - 0x7FF8], 1
000011AA 4AAF 0008 tst.l [A7 + 0x8]
000011AE 6706 beq +0x8 /* 000011B6 */
000011B0 2F2F 0008 move.l -[A7], [A7 + 0x8]
000011B4 A87B syscall ClipRect
label000011B6:
000011B6 245F movea.l A2, [A7]+
000011B8 4E75 rts
fn000011BA:
000011BA 2F0A move.l -[A7], A2
000011BC 53AD 8008 subq.l [A5 - 0x7FF8], 1
000011C0 202D 8008 move.l D0, [A5 - 0x7FF8]
000011C4 E588 lsl D0, 2
000011C6 41ED 0028 lea.l A0, [A5 + 0x28]
000011CA 2470 0800 movea.l A2, [A0 + D0]
000011CE 200A move.l D0, A2
000011D0 6708 beq +0xA /* 000011DA */
000011D2 2F0A move.l -[A7], A2
000011D4 A879 syscall SetClip
000011D6 2F0A move.l -[A7], A2
000011D8 A8D9 syscall DisposRgn/DisposeRgn
label000011DA:
000011DA 245F movea.l A2, [A7]+
000011DC 4E75 rts
fn000011DE:
000011DE 48E7 0030 movem.l -[A7], A2,A3
000011E2 594F subq.w A7, 4
000011E4 4857 pea.l [A7]
000011E6 A874 syscall GetPort
000011E8 202D 8004 move.l D0, [A5 - 0x7FFC]
000011EC E788 lsl D0, 3
000011EE 45ED 01B8 lea.l A2, [A5 + 0x1B8]
000011F2 D5C0 add.l A2, D0
000011F4 2057 movea.l A0, [A7]
000011F6 34A8 0044 move.w [A2], [A0 + 0x44]
000011FA 2057 movea.l A0, [A7]
000011FC 3568 004A 0002 move.w [A2 + 0x2], [A0 + 0x4A]
00001202 202D 8004 move.l D0, [A5 - 0x7FFC]
00001206 E788 lsl D0, 3
00001208 47ED 01B8 lea.l A3, [A5 + 0x1B8]
0000120C D7C0 add.l A3, D0
0000120E 2057 movea.l A0, [A7]
00001210 7000 moveq.l D0, 0x00
00001212 1028 0046 move.b D0, [A0 + 0x46]
00001216 3740 0004 move.w [A3 + 0x4], D0
0000121A 2057 movea.l A0, [A7]
0000121C 3768 0048 0006 move.w [A3 + 0x6], [A0 + 0x48]
00001222 52AD 8004 addq.l [A5 - 0x7FFC], 1
00001226 584F addq.w A7, 4
00001228 4CDF 0C00 movem.l A2,A3, [A7]+
0000122C 4E75 rts
fn0000122E:
0000122E 53AD 8004 subq.l [A5 - 0x7FFC], 1
00001232 202D 8004 move.l D0, [A5 - 0x7FFC]
00001236 E788 lsl D0, 3
00001238 41ED 01B8 lea.l A0, [A5 + 0x1B8]
0000123C 3F30 0800 move.w -[A7], [A0 + D0]
00001240 A887 syscall TextFont
00001242 202D 8004 move.l D0, [A5 - 0x7FFC]
00001246 E788 lsl D0, 3
00001248 41ED 01B8 lea.l A0, [A5 + 0x1B8]
0000124C 3F30 0802 move.w -[A7], [A0 + D0 + 0x2]
00001250 A88A syscall TextSize
00001252 202D 8004 move.l D0, [A5 - 0x7FFC]
00001256 E788 lsl D0, 3
00001258 41ED 01B8 lea.l A0, [A5 + 0x1B8]
0000125C 3F30 0804 move.w -[A7], [A0 + D0 + 0x4]
00001260 A888 syscall TextFace
00001262 202D 8004 move.l D0, [A5 - 0x7FFC]
00001266 E788 lsl D0, 3
00001268 41ED 01B8 lea.l A0, [A5 + 0x1B8]
0000126C 3F30 0806 move.w -[A7], [A0 + D0 + 0x6]
00001270 A889 syscall TextMode
00001272 4E75 rts
fn00001274:
00001274 2F0A move.l -[A7], A2
00001276 594F subq.w A7, 4
00001278 202D 8000 move.l D0, [A5 - 0x8000]
0000127C 721E moveq.l D1, 0x1E
0000127E 4EAD D8F8 jsr [A5 - 0x2708]
00001282 41ED 04D8 lea.l A0, [A5 + 0x4D8]
00001286 D1C0 add.l A0, D0
00001288 4850 pea.l [A0]
0000128A A898 syscall GetPenState
0000128C 7000 moveq.l D0, 0x00
0000128E 102D 81A0 move.b D0, [A5 - 0x7E60]
00001292 7202 moveq.l D1, 0x02
00001294 B081 cmp.l D0, D1
00001296 6D2E blt +0x30 /* 000012C6 */
00001298 202D 8000 move.l D0, [A5 - 0x8000]
0000129C 721E moveq.l D1, 0x1E
0000129E 4EAD D8F8 jsr [A5 - 0x2708]
000012A2 41ED 04D8 lea.l A0, [A5 + 0x4D8]
000012A6 D1C0 add.l A0, D0
000012A8 4868 0012 pea.l [A0 + 0x12]
000012AC AA19 syscall GetForeColor
000012AE 202D 8000 move.l D0, [A5 - 0x8000]
000012B2 721E moveq.l D1, 0x1E
000012B4 4EAD D8F8 jsr [A5 - 0x2708]
000012B8 41ED 04D8 lea.l A0, [A5 + 0x4D8]
000012BC D1C0 add.l A0, D0
000012BE 4868 0018 pea.l [A0 + 0x18]
000012C2 AA1A syscall GetBackColor
000012C4 6026 bra +0x28 /* 000012EC */
label000012C6:
000012C6 4857 pea.l [A7]
000012C8 A874 syscall GetPort
000012CA 202D 8000 move.l D0, [A5 - 0x8000]
000012CE 721E moveq.l D1, 0x1E
000012D0 4EAD D8F8 jsr [A5 - 0x2708]
000012D4 41ED 04D8 lea.l A0, [A5 + 0x4D8]
000012D8 D1C0 add.l A0, D0
000012DA 2448 movea.l A2, A0
000012DC 2057 movea.l A0, [A7]
000012DE 2568 0050 0012 move.l [A2 + 0x12], [A0 + 0x50]
000012E4 2057 movea.l A0, [A7]
000012E6 2568 0054 0016 move.l [A2 + 0x16], [A0 + 0x54]
label000012EC:
000012EC 52AD 8000 addq.l [A5 - 0x8000], 1
000012F0 584F addq.w A7, 4
000012F2 245F movea.l A2, [A7]+
000012F4 4E75 rts
fn000012F6:
000012F6 53AD 8000 subq.l [A5 - 0x8000], 1
000012FA 202D 8000 move.l D0, [A5 - 0x8000]
000012FE 721E moveq.l D1, 0x1E
00001300 4EAD D8F8 jsr [A5 - 0x2708]
00001304 41ED 04D8 lea.l A0, [A5 + 0x4D8]
00001308 D1C0 add.l A0, D0
0000130A 4850 pea.l [A0]
0000130C A899 syscall SetPenState
0000130E 7000 moveq.l D0, 0x00
00001310 102D 81A0 move.b D0, [A5 - 0x7E60]
00001314 7202 moveq.l D1, 0x02
00001316 B081 cmp.l D0, D1
00001318 6D2E blt +0x30 /* 00001348 */
0000131A 202D 8000 move.l D0, [A5 - 0x8000]
0000131E 721E moveq.l D1, 0x1E
00001320 4EAD D8F8 jsr [A5 - 0x2708]
00001324 41ED 04D8 lea.l A0, [A5 + 0x4D8]
00001328 D1C0 add.l A0, D0
0000132A 4868 0012 pea.l [A0 + 0x12]
0000132E AA14 syscall RGBForeColor
00001330 202D 8000 move.l D0, [A5 - 0x8000]
00001334 721E moveq.l D1, 0x1E
00001336 4EAD D8F8 jsr [A5 - 0x2708]
0000133A 41ED 04D8 lea.l A0, [A5 + 0x4D8]
0000133E D1C0 add.l A0, D0
00001340 4868 0018 pea.l [A0 + 0x18]
00001344 AA15 syscall RGBBackColor
00001346 6028 bra +0x2A /* 00001370 */
label00001348:
00001348 202D 8000 move.l D0, [A5 - 0x8000]
0000134C 721E moveq.l D1, 0x1E
0000134E 4EAD D8F8 jsr [A5 - 0x2708]
00001352 41ED 04D8 lea.l A0, [A5 + 0x4D8]
00001356 2F30 0812 move.l -[A7], [A0 + D0 + 0x12]
0000135A A862 syscall ForeColor
0000135C 202D 8000 move.l D0, [A5 - 0x8000]
00001360 721E moveq.l D1, 0x1E
00001362 4EAD D8F8 jsr [A5 - 0x2708]
00001366 41ED 04D8 lea.l A0, [A5 + 0x4D8]
0000136A 2F30 0816 move.l -[A7], [A0 + D0 + 0x16]
0000136E A863 syscall BackColor
label00001370:
00001370 4E75 rts
fn00001372:
00001372 48E7 1020 movem.l -[A7], D3,A2
00001376 246F 000C movea.l A2, [A7 + 0xC]
0000137A 204A movea.l A0, A2
0000137C A069 syscall HGetState
0000137E 1600 move.b D3, D0
00001380 1003 move.b D0, D3
00001382 0280 0000 0080 andi.l D0, 0x80
00001388 6604 bne +0x6 /* 0000138E */
0000138A 204A movea.l A0, A2
0000138C A029 syscall HLock
label0000138E:
0000138E 202D 12E8 move.l D0, [A5 + 0x12E8]
00001392 52AD 12E8 addq.l [A5 + 0x12E8], 1
00001396 D080 add.l D0, D0
00001398 41ED 1090 lea.l A0, [A5 + 0x1090]
0000139C 1183 0800 move.b [A0 + D0], D3
000013A0 2052 movea.l A0, [A2]
000013A2 4CDF 0408 movem.l D3,A2, [A7]+
000013A6 4E75 rts
fn000013A8:
000013A8 53AD 12E8 subq.l [A5 + 0x12E8], 1
000013AC 202D 12E8 move.l D0, [A5 + 0x12E8]
000013B0 D080 add.l D0, D0
000013B2 41ED 1090 lea.l A0, [A5 + 0x1090]
000013B6 1030 0800 move.b D0, [A0 + D0]
000013BA 206F 0004 movea.l A0, [A7 + 0x4]
000013BE A06A syscall HSetState
000013C0 4E75 rts
fn000013C2:
000013C2 514F subq.w A7, 8
000013C4 4857 pea.l [A7]
000013C6 A88B syscall GetFontInfo
000013C8 4AAF 000C tst.l [A7 + 0xC]
000013CC 6706 beq +0x8 /* 000013D4 */
000013CE 206F 000C movea.l A0, [A7 + 0xC]
000013D2 3097 move.w [A0], [A7]
label000013D4:
000013D4 302F 0002 move.w D0, [A7 + 0x2]
000013D8 48C0 ext.l D0
000013DA 3217 move.w D1, [A7]
000013DC 48C1 ext.l D1
000013DE D280 add.l D1, D0
000013E0 302F 0006 move.w D0, [A7 + 0x6]
000013E4 48C0 ext.l D0
000013E6 D081 add.l D0, D1
000013E8 504F addq.w A7, 8
000013EA 4E75 rts
fn000013EC:
000013EC 3B7C FFFF B450 move.w [A5 - 0x4BB0], 0xFFFF
000013F2 4E75 rts
fn000013F4:
000013F4 48E7 1020 movem.l -[A7], D3,A2
000013F8 362F 000C move.w D3, [A7 + 0xC]
000013FC 302D B450 move.w D0, [A5 - 0x4BB0]
00001400 48C0 ext.l D0
00001402 4A80 tst.l D0
00001404 6D06 blt +0x8 /* 0000140C */
00001406 B66D B450 cmp.w D3, [A5 - 0x4BB0]
0000140A 6772 beq +0x74 /* 0000147E */
label0000140C:
0000140C 4AAD 83CE tst.l [A5 - 0x7C32]
00001410 666C bne +0x6E /* 0000147E */
00001412 3B43 B450 move.w [A5 - 0x4BB0], D3
00001416 4A43 tst.w D3
00001418 6608 bne +0xA /* 00001422 */
0000141A 486D 158C pea.l [A5 + 0x158C]
0000141E A851 syscall SetCursor
00001420 605C bra +0x5E /* 0000147E */
label00001422:
00001422 7000 moveq.l D0, 0x00
00001424 102D 81A0 move.b D0, [A5 - 0x7E60]
00001428 7202 moveq.l D1, 0x02
0000142A B081 cmp.l D0, D1
0000142C 6D36 blt +0x38 /* 00001464 */
0000142E 4227 clr.b -[A7]
00001430 A99B syscall SetResLoad
00001432 594F subq.w A7, 4
00001434 2F3C 6372 7372 move.l -[A7], 0x63727372 /* 'crsr' */
0000143A 3F03 move.w -[A7], D3
0000143C A9A0 syscall GetResource
0000143E 205F movea.l A0, [A7]+
00001440 2448 movea.l A2, A0
00001442 1F3C 0001 move.b -[A7], 0x1
00001446 A99B syscall SetResLoad
00001448 200A move.l D0, A2
0000144A 6718 beq +0x1A /* 00001464 */
0000144C 594F subq.w A7, 4
0000144E 3F03 move.w -[A7], D3
00001450 AA1B syscall GetCCursor
00001452 205F movea.l A0, [A7]+
00001454 2448 movea.l A2, A0
00001456 2008 move.l D0, A0
00001458 670A beq +0xC /* 00001464 */
0000145A 2F0A move.l -[A7], A2
0000145C AA1C syscall SetCCursor
0000145E 2F0A move.l -[A7], A2
00001460 AA26 syscall DisposeCCursor/DisposCCursor
00001462 601A bra +0x1C /* 0000147E */
label00001464:
00001464 594F subq.w A7, 4
00001466 3F03 move.w -[A7], D3
00001468 A9B9 syscall GetCursor
0000146A 205F movea.l A0, [A7]+
0000146C 2448 movea.l A2, A0
0000146E 2008 move.l D0, A0
00001470 670C beq +0xE /* 0000147E */
00001472 204A movea.l A0, A2
00001474 A029 syscall HLock
00001476 2F12 move.l -[A7], [A2]
00001478 A851 syscall SetCursor
0000147A 204A movea.l A0, A2
0000147C A02A syscall HUnlock
label0000147E:
0000147E 4CDF 0408 movem.l D3,A2, [A7]+
00001482 205F movea.l A0, [A7]+
00001484 544F addq.w A7, 2
00001486 4ED0 jmp [A0]
00001488 48E7 1030 movem.l -[A7], D3,A2,A3
0000148C 4FEF FFF0 lea.l A7, [A7 - 0x10]
00001490 266F 0020 movea.l A3, [A7 + 0x20]
00001494 206F 0024 movea.l A0, [A7 + 0x24]
00001498 2F50 0004 move.l [A7 + 0x4], [A0]
0000149C 2F68 0004 0008 move.l [A7 + 0x8], [A0 + 0x4]
000014A2 594F subq.w A7, 4
000014A4 A8D8 syscall NewRgn
000014A6 205F movea.l A0, [A7]+
000014A8 2448 movea.l A2, A0
000014AA 2008 move.l D0, A0
000014AC 660C bne +0xE /* 000014BA */
000014AE 7001 moveq.l D0, 0x01
000014B0 4FEF 0010 lea.l A7, [A7 + 0x10]
000014B4 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000014B8 4E75 rts
label000014BA:
000014BA 2F0B move.l -[A7], A3
000014BC 4EBA FC90 jsr [PC - 0x370 /* 0000114E */]
000014C0 486F 0008 pea.l [A7 + 0x8]
000014C4 A870 syscall LocalToGlobal
000014C6 486F 000C pea.l [A7 + 0xC]
000014CA A870 syscall LocalToGlobal
000014CC 2F0A move.l -[A7], A2
000014CE 486F 000C pea.l [A7 + 0xC]
000014D2 A8DF syscall RectRgn
000014D4 2F0A move.l -[A7], A2
000014D6 2F2B 007A move.l -[A7], [A3 + 0x7A]
000014DA 2F0A move.l -[A7], A2
000014DC A8E6 syscall DiffRgn
000014DE 2F0A move.l -[A7], A2
000014E0 A8E2 syscall EmptyRgn
000014E2 101F move.b D0, [A7]+
000014E4 57C0 seq D0
000014E6 4400 neg.b D0
000014E8 4880 ext.w D0
000014EA 48C0 ext.l D0
000014EC 2600 move.l D3, D0
000014EE 2052 movea.l A0, [A2]
000014F0 2F68 0002 000E move.l [A7 + 0xE], [A0 + 0x2]
000014F6 2F6F 000E 0002 move.l [A7 + 0x2], [A7 + 0xE]
000014FC 486F 000E pea.l [A7 + 0xE]
00001500 A871 syscall GlobalToLocal
00001502 2F0A move.l -[A7], A2
00001504 302F 0008 move.w D0, [A7 + 0x8]
00001508 48C0 ext.l D0
0000150A 322F 0014 move.w D1, [A7 + 0x14]
0000150E 48C1 ext.l D1
00001510 9280 sub.l D1, D0
00001512 3F01 move.w -[A7], D1
00001514 302F 0008 move.w D0, [A7 + 0x8]
00001518 48C0 ext.l D0
0000151A 322F 0014 move.w D1, [A7 + 0x14]
0000151E 48C1 ext.l D1
00001520 9280 sub.l D1, D0
00001522 3F01 move.w -[A7], D1
00001524 A8E0 syscall OffsetRgn/OfsetRgn
00001526 2F0A move.l -[A7], A2
00001528 2F2B 001C move.l -[A7], [A3 + 0x1C]
0000152C 2F0A move.l -[A7], A2
0000152E A8E4 syscall SectRgn
00001530 2F0A move.l -[A7], A2
00001532 A879 syscall SetClip
00001534 4EBA FC3A jsr [PC - 0x3C6 /* 00001170 */]
00001538 2F0A move.l -[A7], A2
0000153A A8D9 syscall DisposRgn/DisposeRgn
0000153C 3003 move.w D0, D3
0000153E 4FEF 0012 lea.l A7, [A7 + 0x12]
00001542 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001546 4E75 rts
00001548 3F3C A198 move.w -[A7], 0xA198
0000154C 4EBA 001E jsr [PC + 0x1E /* 0000156C */]
00001550 4A40 tst.w D0
00001552 544F addq.w A7, 2
00001554 6714 beq +0x16 /* 0000156A */
00001556 4A6F 0004 tst.w [A7 + 0x4]
0000155A 6704 beq +0x6 /* 00001560 */
0000155C 7001 moveq.l D0, 0x01
0000155E A098 syscall HWPriv
label00001560:
00001560 4A6F 0006 tst.w [A7 + 0x6]
00001564 6704 beq +0x6 /* 0000156A */
00001566 7003 moveq.l D0, 0x03
00001568 A098 syscall HWPriv
label0000156A:
0000156A 4E75 rts
fn0000156C:
0000156C 48E7 1800 movem.l -[A7], D3,D4
00001570 594F subq.w A7, 4
00001572 382F 0010 move.w D4, [A7 + 0x10]
00001576 3F04 move.w -[A7], D4
00001578 4EBA 09BE jsr [PC + 0x9BE /* 00001F38 */]
0000157C 1600 move.b D3, D0
0000157E 5300 subq.b D0, 1
00001580 544F addq.w A7, 2
00001582 6604 bne +0x6 /* 00001588 */
00001584 0244 07FF andi.w D4, 0x7FF
label00001588:
00001588 4EBA 0976 jsr [PC + 0x976 /* 00001F00 */]
0000158C B840 cmp.w D4, D0
0000158E 6D0A blt +0xC /* 0000159A */
00001590 7000 moveq.l D0, 0x00
00001592 584F addq.w A7, 4
00001594 4CDF 0018 movem.l D3,D4, [A7]+
00001598 4E75 rts
label0000159A:
0000159A 594F subq.w A7, 4
0000159C 3F3C A89F move.w -[A7], 0xA89F
000015A0 1F3C 0001 move.b -[A7], 0x1
000015A4 4EAD D9B2 jsr [A5 - 0x264E]
000015A8 205F movea.l A0, [A7]+
000015AA 2E88 move.l [A7], A0
000015AC 594F subq.w A7, 4
000015AE 3F04 move.w -[A7], D4
000015B0 1F03 move.b -[A7], D3
000015B2 4EAD D9B2 jsr [A5 - 0x264E]
000015B6 205F movea.l A0, [A7]+
000015B8 B1D7 cmpa.l A0, [A7]
000015BA 56C0 sne D0
000015BC 4400 neg.b D0
000015BE 4880 ext.w D0
000015C0 48C0 ext.l D0
000015C2 584F addq.w A7, 4
000015C4 4CDF 0018 movem.l D3,D4, [A7]+
000015C8 4E75 rts
000015CA 48E7 1030 movem.l -[A7], D3,A2,A3
000015CE 266F 0010 movea.l A3, [A7 + 0x10]
000015D2 246F 0014 movea.l A2, [A7 + 0x14]
000015D6 204A movea.l A0, A2
000015D8 70FF moveq.l D0, 0xFFFFFFFF
label000015DA:
000015DA 5280 addq.l D0, 1
000015DC 4A18 tst.b [A0]+
000015DE 66FA bne -0x4 /* 000015DA */
000015E0 2600 move.l D3, D0
000015E2 703F moveq.l D0, 0x3F
000015E4 B680 cmp.l D3, D0
000015E6 6D04 blt +0x6 /* 000015EC */
000015E8 703F moveq.l D0, 0x3F
000015EA 6002 bra +0x4 /* 000015EE */
label000015EC:
000015EC 2003 move.l D0, D3
label000015EE:
000015EE 1680 move.b [A3], D0
000015F0 7200 moveq.l D1, 0x00
000015F2 1200 move.b D1, D0
000015F4 2001 move.l D0, D1
000015F6 204A movea.l A0, A2
000015F8 43EB 0001 lea.l A1, [A3 + 0x1]
000015FC A02E syscall BlockMove/BlockMoveData
000015FE 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001602 4E75 rts
fn00001604:
00001604 48E7 1030 movem.l -[A7], D3,A2,A3
00001608 266F 0010 movea.l A3, [A7 + 0x10]
0000160C 246F 0014 movea.l A2, [A7 + 0x14]
00001610 204A movea.l A0, A2
00001612 70FF moveq.l D0, 0xFFFFFFFF
label00001614:
00001614 5280 addq.l D0, 1
00001616 4A18 tst.b [A0]+
00001618 66FA bne -0x4 /* 00001614 */
0000161A 2600 move.l D3, D0
0000161C 0C83 0000 00FF cmpi.l D3, 0xFF
00001622 6D08 blt +0xA /* 0000162C */
00001624 203C 0000 00FF move.l D0, 0xFF
0000162A 6002 bra +0x4 /* 0000162E */
label0000162C:
0000162C 2003 move.l D0, D3
label0000162E:
0000162E 1680 move.b [A3], D0
00001630 7200 moveq.l D1, 0x00
00001632 1200 move.b D1, D0
00001634 2001 move.l D0, D1
00001636 204A movea.l A0, A2
00001638 43EB 0001 lea.l A1, [A3 + 0x1]
0000163C A02E syscall BlockMove/BlockMoveData
0000163E 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001642 4E75 rts
fn00001644:
00001644 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00001648 266F 0014 movea.l A3, [A7 + 0x14]
0000164C 282F 0018 move.l D4, [A7 + 0x18]
00001650 246F 001C movea.l A2, [A7 + 0x1C]
00001654 7000 moveq.l D0, 0x00
00001656 1012 move.b D0, [A2]
00001658 5280 addq.l D0, 1
0000165A B084 cmp.l D0, D4
0000165C 6506 bcs +0x8 /* 00001664 */
0000165E 2004 move.l D0, D4
00001660 5380 subq.l D0, 1
00001662 6004 bra +0x6 /* 00001668 */
label00001664:
00001664 7000 moveq.l D0, 0x00
00001666 1012 move.b D0, [A2]
label00001668:
00001668 2600 move.l D3, D0
0000166A 41EA 0001 lea.l A0, [A2 + 0x1]
0000166E 224B movea.l A1, A3
00001670 2003 move.l D0, D3
00001672 A02E syscall BlockMove/BlockMoveData
00001674 4233 3800 clr.b [A3 + D3]
00001678 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000167C 4E75 rts
fn0000167E:
0000167E 4FEF FFF2 lea.l A7, [A7 - 0xE]
00001682 2F2F 0012 move.l -[A7], [A7 + 0x12]
00001686 3F2F 001A move.w -[A7], [A7 + 0x1A]
0000168A 486F 0006 pea.l [A7 + 0x6]
0000168E 486F 0014 pea.l [A7 + 0x14]
00001692 486F 0010 pea.l [A7 + 0x10]
00001696 A98D syscall GetDialogItem/GetDItem
00001698 206F 000A movea.l A0, [A7 + 0xA]
0000169C 4FEF 000E lea.l A7, [A7 + 0xE]
000016A0 4E75 rts
fn000016A2:
000016A2 4FEF FFF2 lea.l A7, [A7 - 0xE]
000016A6 2F2F 0012 move.l -[A7], [A7 + 0x12]
000016AA 3F2F 001A move.w -[A7], [A7 + 0x1A]
000016AE 486F 000A pea.l [A7 + 0xA]
000016B2 486F 000A pea.l [A7 + 0xA]
000016B6 486F 0014 pea.l [A7 + 0x14]
000016BA A98D syscall GetDialogItem/GetDItem
000016BC 2F2F 0012 move.l -[A7], [A7 + 0x12]
000016C0 3F2F 001A move.w -[A7], [A7 + 0x1A]
000016C4 3F2F 000A move.w -[A7], [A7 + 0xA]
000016C8 2F2F 0020 move.l -[A7], [A7 + 0x20]
000016CC 486F 0012 pea.l [A7 + 0x12]
000016D0 A98E syscall SetDialogItem/SetDItem
000016D2 4FEF 000E lea.l A7, [A7 + 0xE]
000016D6 4E75 rts
fn000016D8:
000016D8 5D4F subq.w A7, 6
000016DA 2F2F 000A move.l -[A7], [A7 + 0xA]
000016DE 3F2F 0012 move.w -[A7], [A7 + 0x12]
000016E2 486F 0006 pea.l [A7 + 0x6]
000016E6 486F 000C pea.l [A7 + 0xC]
000016EA 2F2F 001E move.l -[A7], [A7 + 0x1E]
000016EE A98D syscall GetDialogItem/GetDItem
000016F0 5C4F addq.w A7, 6
000016F2 4E75 rts
fn000016F4:
000016F4 4FEF FFF2 lea.l A7, [A7 - 0xE]
000016F8 2F2F 0012 move.l -[A7], [A7 + 0x12]
000016FC 3F2F 001A move.w -[A7], [A7 + 0x1A]
00001700 486F 000E pea.l [A7 + 0xE]
00001704 486F 0014 pea.l [A7 + 0x14]
00001708 486F 000E pea.l [A7 + 0xE]
0000170C A98D syscall GetDialogItem/GetDItem
0000170E 2F2F 0012 move.l -[A7], [A7 + 0x12]
00001712 3F2F 001A move.w -[A7], [A7 + 0x1A]
00001716 3F2F 000E move.w -[A7], [A7 + 0xE]
0000171A 2F2F 0012 move.l -[A7], [A7 + 0x12]
0000171E 2F2F 0024 move.l -[A7], [A7 + 0x24]
00001722 A98E syscall SetDialogItem/SetDItem
00001724 4FEF 000E lea.l A7, [A7 + 0xE]
00001728 4E75 rts
fn0000172A:
0000172A 2F0A move.l -[A7], A2
0000172C 594F subq.w A7, 4
0000172E 3F2F 0010 move.w -[A7], [A7 + 0x10]
00001732 2F2F 000E move.l -[A7], [A7 + 0xE]
00001736 4EBA FF46 jsr [PC - 0xBA /* 0000167E */]
0000173A 2448 movea.l A2, A0
0000173C 2F0A move.l -[A7], A2
0000173E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00001742 A95D syscall HiliteControl
00001744 207C 0000 000F movea.l A0, 0xF
0000174A 43EF 0006 lea.l A1, [A7 + 0x6]
0000174E A03B syscall Delay
00001750 2280 move.l [A1], D0
00001752 2F0A move.l -[A7], A2
00001754 4267 clr.w -[A7]
00001756 A95D syscall HiliteControl
00001758 4FEF 000A lea.l A7, [A7 + 0xA]
0000175C 245F movea.l A2, [A7]+
0000175E 4E75 rts
00001760 514F subq.w A7, 8
00001762 4857 pea.l [A7]
00001764 3F2F 0014 move.w -[A7], [A7 + 0x14]
00001768 2F2F 0012 move.l -[A7], [A7 + 0x12]
0000176C 4EBA FF6A jsr [PC - 0x96 /* 000016D8 */]
00001770 486F 000A pea.l [A7 + 0xA]
00001774 3F2F 0020 move.w -[A7], [A7 + 0x20]
00001778 3F2F 0024 move.w -[A7], [A7 + 0x24]
0000177C A8A9 syscall InsetRect
0000177E 2F2F 0016 move.l -[A7], [A7 + 0x16]
00001782 4EBA F9CA jsr [PC - 0x636 /* 0000114E */]
00001786 486F 000E pea.l [A7 + 0xE]
0000178A A928 syscall InvalRect
0000178C 4EBA F9E2 jsr [PC - 0x61E /* 00001170 */]
00001790 4FEF 0016 lea.l A7, [A7 + 0x16]
00001794 4E75 rts
fn00001796:
00001796 48E7 1030 movem.l -[A7], D3,A2,A3
0000179A 266F 0010 movea.l A3, [A7 + 0x10]
0000179E 594F subq.w A7, 4
000017A0 2F0B move.l -[A7], A3
000017A2 4EAD D9AC jsr [A5 - 0x2654]
000017A6 201F move.l D0, [A7]+
000017A8 2600 move.l D3, D0
000017AA A122 syscall NewHandle, flags=1
000017AC 2448 movea.l A2, A0
000017AE 2008 move.l D0, A0
000017B0 6608 bne +0xA /* 000017BA */
000017B2 91C8 sub.l A0, A0
000017B4 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000017B8 4E75 rts
label000017BA:
000017BA 2053 movea.l A0, [A3]
000017BC 2252 movea.l A1, [A2]
000017BE 2003 move.l D0, D3
000017C0 A02E syscall BlockMove/BlockMoveData
000017C2 204A movea.l A0, A2
000017C4 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000017C8 4E75 rts
000017CA 48E7 0C10 movem.l -[A7], D4,D5,A3
000017CE 266F 0010 movea.l A3, [A7 + 0x10]
000017D2 226F 0014 movea.l A1, [A7 + 0x14]
000017D6 2A2F 0018 move.l D5, [A7 + 0x18]
000017DA 6032 bra +0x34 /* 0000180E */
label000017DC:
000017DC 141B move.b D2, [A3]+
000017DE 1819 move.b D4, [A1]+
000017E0 7000 moveq.l D0, 0x00
000017E2 1002 move.b D0, D2
000017E4 206D 1984 movea.l A0, [A5 + 0x1984]
000017E8 1430 0000 move.b D2, [A0 + D0.w]
000017EC 7000 moveq.l D0, 0x00
000017EE 1004 move.b D0, D4
000017F0 1830 0000 move.b D4, [A0 + D0.w]
000017F4 B404 cmp.b D2, D4
000017F6 6716 beq +0x18 /* 0000180E */
000017F8 1004 move.b D0, D4
000017FA 4880 ext.w D0
000017FC 48C0 ext.l D0
000017FE 1202 move.b D1, D2
00001800 4881 ext.w D1
00001802 48C1 ext.l D1
00001804 9280 sub.l D1, D0
00001806 2001 move.l D0, D1
00001808 4CDF 0830 movem.l D4,D5,A3, [A7]+
0000180C 4E75 rts
label0000180E:
0000180E 2005 move.l D0, D5
00001810 5385 subq.l D5, 1
00001812 4A80 tst.l D0
00001814 66C6 bne -0x38 /* 000017DC */
00001816 7000 moveq.l D0, 0x00
00001818 4CDF 0830 movem.l D4,D5,A3, [A7]+
0000181C 4E75 rts
0000181E 48E7 0810 movem.l -[A7], D4,A3
00001822 266F 000C movea.l A3, [A7 + 0xC]
00001826 226F 0010 movea.l A1, [A7 + 0x10]
label0000182A:
0000182A 141B move.b D2, [A3]+
0000182C 1819 move.b D4, [A1]+
0000182E 7000 moveq.l D0, 0x00
00001830 1002 move.b D0, D2
00001832 206D 1984 movea.l A0, [A5 + 0x1984]
00001836 1430 0000 move.b D2, [A0 + D0.w]
0000183A 7000 moveq.l D0, 0x00
0000183C 1004 move.b D0, D4
0000183E 1830 0000 move.b D4, [A0 + D0.w]
00001842 B404 cmp.b D2, D4
00001844 6716 beq +0x18 /* 0000185C */
00001846 1004 move.b D0, D4
00001848 4880 ext.w D0
0000184A 48C0 ext.l D0
0000184C 1202 move.b D1, D2
0000184E 4881 ext.w D1
00001850 48C1 ext.l D1
00001852 9280 sub.l D1, D0
00001854 2001 move.l D0, D1
00001856 4CDF 0810 movem.l D4,A3, [A7]+
0000185A 4E75 rts
label0000185C:
0000185C 4A02 tst.b D2
0000185E 66CA bne -0x34 /* 0000182A */
00001860 7000 moveq.l D0, 0x00
00001862 4CDF 0810 movem.l D4,A3, [A7]+
00001866 4E75 rts
fn00001868:
00001868 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
0000186C 4FEF FFD4 lea.l A7, [A7 - 0x2C]
00001870 266F 0044 movea.l A3, [A7 + 0x44]
00001874 2A2F 0048 move.l D5, [A7 + 0x48]
00001878 45EF 004C lea.l A2, [A7 + 0x4C]
0000187C 548A addq.l A2, 2
0000187E 7600 moveq.l D3, 0x00
00001880 6010 bra +0x12 /* 00001892 */
label00001882:
00001882 588A addq.l A2, 4
00001884 2003 move.l D0, D3
00001886 E588 lsl D0, 2
00001888 41D7 lea.l A0, [A7]
0000188A 21AA FFFC 0800 move.l [A0 + D0], [A2 - 0x4]
00001890 5283 addq.l D3, 1
label00001892:
00001892 302F 004C move.w D0, [A7 + 0x4C]
00001896 48C0 ext.l D0
00001898 B680 cmp.l D3, D0
0000189A 6DE6 blt -0x18 /* 00001882 */
0000189C 200B move.l D0, A3
0000189E 6704 beq +0x6 /* 000018A4 */
000018A0 4A93 tst.l [A3]
000018A2 660A bne +0xC /* 000018AE */
label000018A4:
000018A4 4FEF 002C lea.l A7, [A7 + 0x2C]
000018A8 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000018AC 4E75 rts
label000018AE:
000018AE 594F subq.w A7, 4
000018B0 2F0B move.l -[A7], A3
000018B2 4EAD D9AC jsr [A5 - 0x2654]
000018B6 201F move.l D0, [A7]+
000018B8 2205 move.l D1, D5
000018BA 4EAD D8FE jsr [A5 - 0x2702]
000018BE 2800 move.l D4, D0
000018C0 2F0B move.l -[A7], A3
000018C2 4EBA FAAE jsr [PC - 0x552 /* 00001372 */]
000018C6 2448 movea.l A2, A0
000018C8 584F addq.w A7, 4
000018CA 6026 bra +0x28 /* 000018F2 */
label000018CC:
000018CC 7600 moveq.l D3, 0x00
000018CE 6016 bra +0x18 /* 000018E6 */
label000018D0:
000018D0 2003 move.l D0, D3
000018D2 E588 lsl D0, 2
000018D4 41D7 lea.l A0, [A7]
000018D6 2230 0800 move.l D1, [A0 + D0]
000018DA 4872 1800 pea.l [A2 + D1]
000018DE 4EBA 075C jsr [PC + 0x75C /* 0000203C */]
000018E2 5283 addq.l D3, 1
000018E4 584F addq.w A7, 4
label000018E6:
000018E6 302F 004C move.w D0, [A7 + 0x4C]
000018EA 48C0 ext.l D0
000018EC B680 cmp.l D3, D0
000018EE 6DE0 blt -0x1E /* 000018D0 */
000018F0 D5C5 add.l A2, D5
label000018F2:
000018F2 2004 move.l D0, D4
000018F4 5384 subq.l D4, 1
000018F6 4A80 tst.l D0
000018F8 66D2 bne -0x2C /* 000018CC */
000018FA 2F0B move.l -[A7], A3
000018FC 4EBA FAAA jsr [PC - 0x556 /* 000013A8 */]
00001900 4FEF 0030 lea.l A7, [A7 + 0x30]
00001904 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00001908 4E75 rts
fn0000190A:
0000190A 48E7 1020 movem.l -[A7], D3,A2
0000190E 594F subq.w A7, 4
00001910 362F 0016 move.w D3, [A7 + 0x16]
00001914 246F 0012 movea.l A2, [A7 + 0x12]
00001918 4A2D 12EC tst.b [A5 + 0x12EC]
0000191C 662A bne +0x2C /* 00001948 */
0000191E 554F subq.w A7, 2
00001920 2F3C 7363 7269 move.l -[A7], 0x73637269 /* 'scri' */
00001926 486F 0006 pea.l [A7 + 0x6]
0000192A 4EAD DA66 jsr [A5 - 0x259A]
0000192E 301F move.w D0, [A7]+
00001930 6610 bne +0x12 /* 00001942 */
00001932 0C97 0000 0700 cmpi.l [A7], 0x700
00001938 6D08 blt +0xA /* 00001942 */
0000193A 1B7C 0002 12EC move.b [A5 + 0x12EC], 0x2
00001940 6006 bra +0x8 /* 00001948 */
label00001942:
00001942 1B7C 0001 12EC move.b [A5 + 0x12EC], 0x1
label00001948:
00001948 0C2D 0002 12EC cmpi.b [A5 + 0x12EC], 0x2
0000194E 6622 bne +0x24 /* 00001972 */
00001950 554F subq.w A7, 2
00001952 3F03 move.w -[A7], D3
00001954 2F0A move.l -[A7], A2
00001956 3F2F 0018 move.w -[A7], [A7 + 0x18]
0000195A 2F3C 8208 FFE0 move.l -[A7], 0x8208FFE0
00001960 A8B5 syscall ScriptUtil
00001962 301F move.w D0, [A7]+
00001964 6022 bra +0x24 /* 00001988 */
label00001966:
00001966 5312 subq.b [A2], 1
00001968 7000 moveq.l D0, 0x00
0000196A 1012 move.b D0, [A2]
0000196C 15BC 00C9 0000 move.b [A2 + D0.w], 0xC9
label00001972:
00001972 7000 moveq.l D0, 0x00
00001974 1012 move.b D0, [A2]
00001976 7201 moveq.l D1, 0x01
00001978 B081 cmp.l D0, D1
0000197A 6F0C ble +0xE /* 00001988 */
0000197C 554F subq.w A7, 2
0000197E 2F0A move.l -[A7], A2
00001980 A88C syscall StringWidth
00001982 301F move.w D0, [A7]+
00001984 B043 cmp.w D0, D3
00001986 6EDE bgt -0x20 /* 00001966 */
label00001988:
00001988 584F addq.w A7, 4
0000198A 4CDF 0408 movem.l D3,A2, [A7]+
0000198E 205F movea.l A0, [A7]+
00001990 504F addq.w A7, 8
00001992 4ED0 jmp [A0]
fn00001994:
00001994 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
00001998 4FEF FFF4 lea.l A7, [A7 - 0xC]
0000199C 282F 0034 move.l D4, [A7 + 0x34]
000019A0 2C6F 0030 movea.l A6, [A7 + 0x30]
000019A4 262F 002C move.l D3, [A7 + 0x2C]
000019A8 7000 moveq.l D0, 0x00
000019AA 102D 81A0 move.b D0, [A5 - 0x7E60]
000019AE 7202 moveq.l D1, 0x02
000019B0 B081 cmp.l D0, D1
000019B2 6D00 00BA blt +0xBC /* 00001A6E */
000019B6 594F subq.w A7, 4
000019B8 AA29 syscall GetDeviceList
000019BA 205F movea.l A0, [A7]+
000019BC 2448 movea.l A2, A0
000019BE 594F subq.w A7, 4
000019C0 A8D8 syscall NewRgn
000019C2 205F movea.l A0, [A7]+
000019C4 2648 movea.l A3, A0
000019C6 2008 move.l D0, A0
000019C8 6700 00AE beq +0xB0 /* 00001A78 */
000019CC 486F 0008 pea.l [A7 + 0x8]
000019D0 A874 syscall GetPort
000019D2 6000 008E bra +0x90 /* 00001A62 */
label000019D6:
000019D6 554F subq.w A7, 2
000019D8 2F0A move.l -[A7], A2
000019DA 3F3C 000D move.w -[A7], 0xD /* '\r' */
000019DE AA2C syscall TestDeviceAttribute
000019E0 101F move.b D0, [A7]+
000019E2 6774 beq +0x76 /* 00001A58 */
000019E4 554F subq.w A7, 2
000019E6 2F0A move.l -[A7], A2
000019E8 3F3C 000F move.w -[A7], 0xF
000019EC AA2C syscall TestDeviceAttribute
000019EE 101F move.b D0, [A7]+
000019F0 6766 beq +0x68 /* 00001A58 */
000019F2 2052 movea.l A0, [A2]
000019F4 2EA8 0022 move.l [A7], [A0 + 0x22]
000019F8 2F68 0026 0004 move.l [A7 + 0x4], [A0 + 0x26]
000019FE 4857 pea.l [A7]
00001A00 A871 syscall GlobalToLocal
00001A02 486F 0004 pea.l [A7 + 0x4]
00001A06 A871 syscall GlobalToLocal
00001A08 2F0B move.l -[A7], A3
00001A0A 486F 0004 pea.l [A7 + 0x4]
00001A0E A8DF syscall RectRgn
00001A10 2F04 move.l -[A7], D4
00001A12 2F0B move.l -[A7], A3
00001A14 2F0B move.l -[A7], A3
00001A16 A8E4 syscall SectRgn
00001A18 2F0B move.l -[A7], A3
00001A1A 206F 000C movea.l A0, [A7 + 0xC]
00001A1E 2F28 0018 move.l -[A7], [A0 + 0x18]
00001A22 2F0B move.l -[A7], A3
00001A24 A8E4 syscall SectRgn
00001A26 554F subq.w A7, 2
00001A28 2F0B move.l -[A7], A3
00001A2A A8E2 syscall EmptyRgn
00001A2C 101F move.b D0, [A7]+
00001A2E 6628 bne +0x2A /* 00001A58 */
00001A30 206F 0008 movea.l A0, [A7 + 0x8]
00001A34 2868 0018 movea.l A4, [A0 + 0x18]
00001A38 214B 0018 move.l [A0 + 0x18], A3
00001A3C 2052 movea.l A0, [A2]
00001A3E 2068 0016 movea.l A0, [A0 + 0x16]
00001A42 2050 movea.l A0, [A0]
00001A44 3F28 0020 move.w -[A7], [A0 + 0x20]
00001A48 4267 clr.w -[A7]
00001A4A 2F0A move.l -[A7], A2
00001A4C 2F03 move.l -[A7], D3
00001A4E 4E96 jsr [A6]
00001A50 206F 0008 movea.l A0, [A7 + 0x8]
00001A54 214C 0018 move.l [A0 + 0x18], A4
label00001A58:
00001A58 594F subq.w A7, 4
00001A5A 2F0A move.l -[A7], A2
00001A5C AA2B syscall GetNextDevice
00001A5E 205F movea.l A0, [A7]+
00001A60 2448 movea.l A2, A0
label00001A62:
00001A62 200A move.l D0, A2
00001A64 6600 FF70 bne -0x8E /* 000019D6 */
00001A68 2F0B move.l -[A7], A3
00001A6A A8D9 syscall DisposRgn/DisposeRgn
00001A6C 600A bra +0xC /* 00001A78 */
label00001A6E:
00001A6E 4878 0001 push.l 0x1
00001A72 42A7 clr.l -[A7]
00001A74 2F03 move.l -[A7], D3
00001A76 4E96 jsr [A6]
label00001A78:
00001A78 4FEF 000C lea.l A7, [A7 + 0xC]
00001A7C 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
00001A80 205F movea.l A0, [A7]+
00001A82 4FEF 0010 lea.l A7, [A7 + 0x10]
00001A86 4ED0 jmp [A0]
fn00001A88:
00001A88 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00001A8C 266F 001C movea.l A3, [A7 + 0x1C]
00001A90 246F 0020 movea.l A2, [A7 + 0x20]
00001A94 7000 moveq.l D0, 0x00
00001A96 3012 move.w D0, [A2]
00001A98 7200 moveq.l D1, 0x00
00001A9A 3213 move.w D1, [A3]
00001A9C 9280 sub.l D1, D0
00001A9E 2F01 move.l -[A7], D1
00001AA0 4EAD D92E jsr [A5 - 0x26D2]
00001AA4 3600 move.w D3, D0
00001AA6 7000 moveq.l D0, 0x00
00001AA8 302A 0002 move.w D0, [A2 + 0x2]
00001AAC 7200 moveq.l D1, 0x00
00001AAE 322B 0002 move.w D1, [A3 + 0x2]
00001AB2 9280 sub.l D1, D0
00001AB4 2F01 move.l -[A7], D1
00001AB6 4EAD D92E jsr [A5 - 0x26D2]
00001ABA 3800 move.w D4, D0
00001ABC 7000 moveq.l D0, 0x00
00001ABE 302A 0004 move.w D0, [A2 + 0x4]
00001AC2 7200 moveq.l D1, 0x00
00001AC4 322B 0004 move.w D1, [A3 + 0x4]
00001AC8 9280 sub.l D1, D0
00001ACA 2F01 move.l -[A7], D1
00001ACC 4EAD D92E jsr [A5 - 0x26D2]
00001AD0 3A00 move.w D5, D0
00001AD2 7000 moveq.l D0, 0x00
00001AD4 3003 move.w D0, D3
00001AD6 0C80 0000 4E20 cmpi.l D0, 0x4E20 /* 'N ' */
00001ADC 4FEF 000C lea.l A7, [A7 + 0xC]
00001AE0 6C20 bge +0x22 /* 00001B02 */
00001AE2 7000 moveq.l D0, 0x00
00001AE4 3004 move.w D0, D4
00001AE6 0C80 0000 4E20 cmpi.l D0, 0x4E20 /* 'N ' */
00001AEC 6C14 bge +0x16 /* 00001B02 */
00001AEE 7000 moveq.l D0, 0x00
00001AF0 3005 move.w D0, D5
00001AF2 0C80 0000 4E20 cmpi.l D0, 0x4E20 /* 'N ' */
00001AF8 6C08 bge +0xA /* 00001B02 */
00001AFA 7000 moveq.l D0, 0x00
00001AFC 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00001B00 4E75 rts
label00001B02:
00001B02 3013 move.w D0, [A3]
00001B04 B052 cmp.w D0, [A2]
00001B06 651C bcs +0x1E /* 00001B24 */
00001B08 7000 moveq.l D0, 0x00
00001B0A 3012 move.w D0, [A2]
00001B0C 7200 moveq.l D1, 0x00
00001B0E 3203 move.w D1, D3
00001B10 2401 move.l D2, D1
00001B12 E08A lsr D2, 8
00001B14 E08A lsr D2, 8
00001B16 E08A lsr D2, 8
00001B18 EE8A lsr D2, 7
00001B1A D481 add.l D2, D1
00001B1C E282 asr D2, 1
00001B1E D480 add.l D2, D0
00001B20 2002 move.l D0, D2
00001B22 601A bra +0x1C /* 00001B3E */
label00001B24:
00001B24 7000 moveq.l D0, 0x00
00001B26 3013 move.w D0, [A3]
00001B28 7200 moveq.l D1, 0x00
00001B2A 3203 move.w D1, D3
00001B2C 2401 move.l D2, D1
00001B2E E08A lsr D2, 8
00001B30 E08A lsr D2, 8
00001B32 E08A lsr D2, 8
00001B34 EE8A lsr D2, 7
00001B36 D481 add.l D2, D1
00001B38 E282 asr D2, 1
00001B3A D480 add.l D2, D0
00001B3C 2002 move.l D0, D2
label00001B3E:
00001B3E 3480 move.w [A2], D0
00001B40 302B 0002 move.w D0, [A3 + 0x2]
00001B44 B06A 0002 cmp.w D0, [A2 + 0x2]
00001B48 651E bcs +0x20 /* 00001B68 */
00001B4A 7000 moveq.l D0, 0x00
00001B4C 302A 0002 move.w D0, [A2 + 0x2]
00001B50 7200 moveq.l D1, 0x00
00001B52 3204 move.w D1, D4
00001B54 2401 move.l D2, D1
00001B56 E08A lsr D2, 8
00001B58 E08A lsr D2, 8
00001B5A E08A lsr D2, 8
00001B5C EE8A lsr D2, 7
00001B5E D481 add.l D2, D1
00001B60 E282 asr D2, 1
00001B62 D480 add.l D2, D0
00001B64 2002 move.l D0, D2
00001B66 601C bra +0x1E /* 00001B84 */
label00001B68:
00001B68 7000 moveq.l D0, 0x00
00001B6A 302B 0002 move.w D0, [A3 + 0x2]
00001B6E 7200 moveq.l D1, 0x00
00001B70 3204 move.w D1, D4
00001B72 2401 move.l D2, D1
00001B74 E08A lsr D2, 8
00001B76 E08A lsr D2, 8
00001B78 E08A lsr D2, 8
00001B7A EE8A lsr D2, 7
00001B7C D481 add.l D2, D1
00001B7E E282 asr D2, 1
00001B80 D480 add.l D2, D0
00001B82 2002 move.l D0, D2
label00001B84:
00001B84 3540 0002 move.w [A2 + 0x2], D0
00001B88 302B 0004 move.w D0, [A3 + 0x4]
00001B8C B06A 0004 cmp.w D0, [A2 + 0x4]
00001B90 651E bcs +0x20 /* 00001BB0 */
00001B92 7000 moveq.l D0, 0x00
00001B94 302A 0004 move.w D0, [A2 + 0x4]
00001B98 7200 moveq.l D1, 0x00
00001B9A 3205 move.w D1, D5
00001B9C 2401 move.l D2, D1
00001B9E E08A lsr D2, 8
00001BA0 E08A lsr D2, 8
00001BA2 E08A lsr D2, 8
00001BA4 EE8A lsr D2, 7
00001BA6 D481 add.l D2, D1
00001BA8 E282 asr D2, 1
00001BAA D480 add.l D2, D0
00001BAC 2002 move.l D0, D2
00001BAE 601C bra +0x1E /* 00001BCC */
label00001BB0:
00001BB0 7000 moveq.l D0, 0x00
00001BB2 302B 0004 move.w D0, [A3 + 0x4]
00001BB6 7200 moveq.l D1, 0x00
00001BB8 3205 move.w D1, D5
00001BBA 2401 move.l D2, D1
00001BBC E08A lsr D2, 8
00001BBE E08A lsr D2, 8
00001BC0 E08A lsr D2, 8
00001BC2 EE8A lsr D2, 7
00001BC4 D481 add.l D2, D1
00001BC6 E282 asr D2, 1
00001BC8 D480 add.l D2, D0
00001BCA 2002 move.l D0, D2
label00001BCC:
00001BCC 3540 0004 move.w [A2 + 0x4], D0
00001BD0 7001 moveq.l D0, 0x01
00001BD2 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00001BD6 4E75 rts
00001BD8 48E7 1020 movem.l -[A7], D3,A2
00001BDC 4FEF FFEC lea.l A7, [A7 - 0x14]
00001BE0 246F 0020 movea.l A2, [A7 + 0x20]
00001BE4 262F 0024 move.l D3, [A7 + 0x24]
00001BE8 4A83 tst.l D3
00001BEA 6736 beq +0x38 /* 00001C22 */
00001BEC 4857 pea.l [A7]
00001BEE A874 syscall GetPort
00001BF0 486F 0010 pea.l [A7 + 0x10]
00001BF4 4EBA F7CC jsr [PC - 0x834 /* 000013C2 */]
00001BF8 3F40 0016 move.w [A7 + 0x16], D0
00001BFC 206F 0004 movea.l A0, [A7 + 0x4]
00001C00 2F68 0030 0008 move.l [A7 + 0x8], [A0 + 0x30]
00001C06 2F4A 000C move.l [A7 + 0xC], A2
00001C0A 2F43 0010 move.l [A7 + 0x10], D3
00001C0E 2F28 0018 move.l -[A7], [A0 + 0x18]
00001C12 486D DE80 pea.l [A5 - 0x2180]
00001C16 486F 0010 pea.l [A7 + 0x10]
00001C1A 42A7 clr.l -[A7]
00001C1C 4EBA FD76 jsr [PC - 0x28A /* 00001994 */]
00001C20 584F addq.w A7, 4
label00001C22:
00001C22 4FEF 0014 lea.l A7, [A7 + 0x14]
00001C26 4CDF 0408 movem.l D3,A2, [A7]+
00001C2A 4E75 rts
00001C2C 41EF 0004 lea.l A0, [A7 + 0x4]
00001C30 7000 moveq.l D0, 0x00
00001C32 1010 move.b D0, [A0]
00001C34 7200 moveq.l D1, 0x00
00001C36 1228 0001 move.b D1, [A0 + 0x1]
00001C3A 7400 moveq.l D2, 0x00
00001C3C 3401 move.w D2, D1
00001C3E E18A lsl D2, 8
00001C40 8480 or.l D2, D0
00001C42 3002 move.w D0, D2
00001C44 4E75 rts
00001C46 594F subq.w A7, 4
00001C48 41EF 0008 lea.l A0, [A7 + 0x8]
00001C4C 7000 moveq.l D0, 0x00
00001C4E 1010 move.b D0, [A0]
00001C50 7200 moveq.l D1, 0x00
00001C52 1228 0002 move.b D1, [A0 + 0x2]
00001C56 7410 moveq.l D2, 0x10
00001C58 E5A9 lsl D1, D2
00001C5A 7400 moveq.l D2, 0x00
00001C5C 1428 0003 move.b D2, [A0 + 0x3]
00001C60 2E80 move.l [A7], D0
00001C62 7018 moveq.l D0, 0x18
00001C64 E1AA lsl D2, D0
00001C66 8481 or.l D2, D1
00001C68 7000 moveq.l D0, 0x00
00001C6A 1028 0001 move.b D0, [A0 + 0x1]
00001C6E E188 lsl D0, 8
00001C70 8082 or.l D0, D2
00001C72 8097 or.l D0, [A7]
00001C74 584F addq.w A7, 4
00001C76 4E75 rts
fn00001C78:
00001C78 2F0A move.l -[A7], A2
00001C7A 4FEF FFF4 lea.l A7, [A7 - 0xC]
00001C7E 246F 0014 movea.l A2, [A7 + 0x14]
00001C82 2F52 0004 move.l [A7 + 0x4], [A2]
00001C86 2F6A 0004 0008 move.l [A7 + 0x8], [A2 + 0x4]
00001C8C 486F 0004 pea.l [A7 + 0x4]
00001C90 A870 syscall LocalToGlobal
00001C92 486F 0008 pea.l [A7 + 0x8]
00001C96 A870 syscall LocalToGlobal
00001C98 594F subq.w A7, 4
00001C9A 486F 0008 pea.l [A7 + 0x8]
00001C9E AA27 syscall GetMaxDevice
00001CA0 205F movea.l A0, [A7]+
00001CA2 2448 movea.l A2, A0
00001CA4 200A move.l D0, A2
00001CA6 6716 beq +0x18 /* 00001CBE */
00001CA8 2052 movea.l A0, [A2]
00001CAA 2068 0016 movea.l A0, [A0 + 0x16]
00001CAE 2050 movea.l A0, [A0]
00001CB0 3228 0020 move.w D1, [A0 + 0x20]
00001CB4 48C1 ext.l D1
00001CB6 7402 moveq.l D2, 0x02
00001CB8 B282 cmp.l D1, D2
00001CBA 6E06 bgt +0x8 /* 00001CC2 */
00001CBC 2E80 move.l [A7], D0
label00001CBE:
00001CBE 7000 moveq.l D0, 0x00
00001CC0 6002 bra +0x4 /* 00001CC4 */
label00001CC2:
00001CC2 7001 moveq.l D0, 0x01
label00001CC4:
00001CC4 4FEF 000C lea.l A7, [A7 + 0xC]
00001CC8 245F movea.l A2, [A7]+
00001CCA 4E75 rts
00001CCC 554F subq.w A7, 2
00001CCE 1EB8 0938 move.b [A7], [0x00000938 /* HiliteMode */]
00001CD2 101F move.b D0, [A7]+
00001CD4 7200 moveq.l D1, 0x00
00001CD6 1200 move.b D1, D0
00001CD8 0281 FFFF FF7F andi.l D1, 0xFFFFFF7F
00001CDE 1F01 move.b -[A7], D1
00001CE0 11DF 0938 move.b [0x00000938 /* HiliteMode */], [A7]+
00001CE4 2F2F 0004 move.l -[A7], [A7 + 0x4]
00001CE8 A8D5 syscall InverRgn/InvertRgn
00001CEA 4E75 rts
fn00001CEC:
00001CEC 48E7 1030 movem.l -[A7], D3,A2,A3
00001CF0 594F subq.w A7, 4
00001CF2 262F 0014 move.l D3, [A7 + 0x14]
00001CF6 266F 0018 movea.l A3, [A7 + 0x18]
00001CFA 4AAD 12EE tst.l [A5 + 0x12EE]
00001CFE 662C bne +0x2E /* 00001D2C */
00001D00 7001 moveq.l D0, 0x01
00001D02 2B40 12EE move.l [A5 + 0x12EE], D0
00001D06 554F subq.w A7, 2
00001D08 2F3C 6F73 2020 move.l -[A7], 0x6F732020 /* 'os ' */
00001D0E 486F 0006 pea.l [A7 + 0x6]
00001D12 4EAD DA66 jsr [A5 - 0x259A]
00001D16 301F move.w D0, [A7]+
00001D18 6612 bne +0x14 /* 00001D2C */
00001D1A 7010 moveq.l D0, 0x10
00001D1C C097 and.l D0, [A7]
00001D1E 670C beq +0xE /* 00001D2C */
00001D20 7020 moveq.l D0, 0x20
00001D22 C097 and.l D0, [A7]
00001D24 6706 beq +0x8 /* 00001D2C */
00001D26 7001 moveq.l D0, 0x01
00001D28 2B40 12F2 move.l [A5 + 0x12F2 /* export_602 */], D0
label00001D2C:
00001D2C 4AAD 12F2 tst.l [A5 + 0x12F2 /* export_602 */]
00001D30 671E beq +0x20 /* 00001D50 */
00001D32 594F subq.w A7, 4
00001D34 2F03 move.l -[A7], D3
00001D36 2F0B move.l -[A7], A3
00001D38 3F3C 001D move.w -[A7], 0x1D
00001D3C A88F syscall OSDispatch
00001D3E 205F movea.l A0, [A7]+
00001D40 2448 movea.l A2, A0
00001D42 2008 move.l D0, A0
00001D44 670A beq +0xC /* 00001D50 */
00001D46 204A movea.l A0, A2
00001D48 584F addq.w A7, 4
00001D4A 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001D4E 4E75 rts
label00001D50:
00001D50 2003 move.l D0, D3
00001D52 A122 syscall NewHandle, flags=1
00001D54 2448 movea.l A2, A0
00001D56 554F subq.w A7, 2
00001D58 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00001D5C 301F move.w D0, [A7]+
00001D5E 3680 move.w [A3], D0
00001D60 204A movea.l A0, A2
00001D62 584F addq.w A7, 4
00001D64 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00001D68 4E75 rts
00001D6A 48E7 0308 movem.l -[A7], D6,D7,A4
00001D6E 206F 0010 movea.l A0, [A7 + 0x10]
00001D72 286F 0014 movea.l A4, [A7 + 0x14]
00001D76 226F 0018 movea.l A1, [A7 + 0x18]
00001D7A 202F 001C move.l D0, [A7 + 0x1C]
00001D7E 1E2F 0020 move.b D7, [A7 + 0x20]
00001D82 2400 move.l D2, D0
00001D84 2C00 move.l D6, D0
00001D86 7200 moveq.l D1, 0x00
00001D88 601C bra +0x1E /* 00001DA6 */
label00001D8A:
00001D8A 1018 move.b D0, [A0]+
00001D8C 4A81 tst.l D1
00001D8E 6708 beq +0xA /* 00001D98 */
00001D90 5386 subq.l D6, 1
00001D92 6712 beq +0x14 /* 00001DA6 */
00001D94 12C0 move.b [A1]+, D0
00001D96 600E bra +0x10 /* 00001DA6 */
label00001D98:
00001D98 B007 cmp.b D0, D7
00001D9A 6604 bne +0x6 /* 00001DA0 */
00001D9C 7201 moveq.l D1, 0x01
00001D9E 6006 bra +0x8 /* 00001DA6 */
label00001DA0:
00001DA0 5382 subq.l D2, 1
00001DA2 6702 beq +0x4 /* 00001DA6 */
00001DA4 18C0 move.b [A4]+, D0
label00001DA6:
00001DA6 4A10 tst.b [A0]
00001DA8 66E0 bne -0x1E /* 00001D8A */
00001DAA 4214 clr.b [A4]
00001DAC 4211 clr.b [A1]
00001DAE 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001DB2 4E75 rts
00001DB4 48E7 0030 movem.l -[A7], A2,A3
00001DB8 266F 000C movea.l A3, [A7 + 0xC]
00001DBC 246F 0010 movea.l A2, [A7 + 0x10]
00001DC0 3013 move.w D0, [A3]
00001DC2 B052 cmp.w D0, [A2]
00001DC4 662A bne +0x2C /* 00001DF0 */
00001DC6 202B 0002 move.l D0, [A3 + 0x2]
00001DCA B0AA 0002 cmp.l D0, [A2 + 0x2]
00001DCE 6620 bne +0x22 /* 00001DF0 */
00001DD0 554F subq.w A7, 2
00001DD2 486B 0006 pea.l [A3 + 0x6]
00001DD6 486A 0006 pea.l [A2 + 0x6]
00001DDA 4227 clr.b -[A7]
00001DDC 4227 clr.b -[A7]
00001DDE 4EAD D9BE jsr [A5 - 0x2642]
00001DE2 101F move.b D0, [A7]+
00001DE4 7200 moveq.l D1, 0x00
00001DE6 1200 move.b D1, D0
00001DE8 2001 move.l D0, D1
00001DEA 4CDF 0C00 movem.l A2,A3, [A7]+
00001DEE 4E75 rts
label00001DF0:
00001DF0 7000 moveq.l D0, 0x00
00001DF2 4CDF 0C00 movem.l A2,A3, [A7]+
00001DF6 4E75 rts
00001DF8 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00001DFC 514F subq.w A7, 8
00001DFE 246F 0020 movea.l A2, [A7 + 0x20]
00001E02 382F 0024 move.w D4, [A7 + 0x24]
00001E06 2A2F 0026 move.l D5, [A7 + 0x26]
00001E0A 4A2D 12F6 tst.b [A5 + 0x12F6]
00001E0E 662A bne +0x2C /* 00001E3A */
00001E10 1B7C 0002 12F6 move.b [A5 + 0x12F6], 0x2
00001E16 554F subq.w A7, 2
00001E18 2F3C 7363 7269 move.l -[A7], 0x73637269 /* 'scri' */
00001E1E 486F 0006 pea.l [A7 + 0x6]
00001E22 4EAD DA66 jsr [A5 - 0x259A]
00001E26 301F move.w D0, [A7]+
00001E28 6610 bne +0x12 /* 00001E3A */
00001E2A 2017 move.l D0, [A7]
00001E2C E080 asr D0, 8
00001E2E 7207 moveq.l D1, 0x07
00001E30 B081 cmp.l D0, D1
00001E32 6D06 blt +0x8 /* 00001E3A */
00001E34 1B7C 0001 12F6 move.b [A5 + 0x12F6], 0x1
label00001E3A:
00001E3A 0C2D 0001 12F6 cmpi.b [A5 + 0x12F6], 0x1
00001E40 6618 bne +0x1A /* 00001E5A */
00001E42 4A85 tst.l D5
00001E44 670A beq +0xC /* 00001E50 */
00001E46 204A movea.l A0, A2
00001E48 3004 move.w D0, D4
00001E4A A456 syscall UpperText, flags=4
00001E4C 6000 00AA bra +0xAC /* 00001EF8 */
label00001E50:
00001E50 204A movea.l A0, A2
00001E52 3004 move.w D0, D4
00001E54 A056 syscall LwrString/LowerText
00001E56 6000 00A0 bra +0xA2 /* 00001EF8 */
label00001E5A:
00001E5A 42AF 0004 clr.l [A7 + 0x4]
00001E5E 97CB sub.l A3, A3
00001E60 554F subq.w A7, 2
00001E62 2F0A move.l -[A7], A2
00001E64 486F 000A pea.l [A7 + 0xA]
00001E68 3044 movea.w A0, D4
00001E6A 2F08 move.l -[A7], A0
00001E6C 4EAD DA36 jsr [A5 - 0x25CA]
00001E70 301F move.w D0, [A7]+
00001E72 6600 0084 bne +0x86 /* 00001EF8 */
00001E76 7000 moveq.l D0, 0x00
00001E78 A122 syscall NewHandle, flags=1
00001E7A 2648 movea.l A3, A0
00001E7C 200B move.l D0, A3
00001E7E 6772 beq +0x74 /* 00001EF2 */
00001E80 4A85 tst.l D5
00001E82 6608 bne +0xA /* 00001E8C */
00001E84 203C 0000 4000 move.l D0, 0x4000 /* '@\0' */
00001E8A 6006 bra +0x8 /* 00001E92 */
label00001E8C:
00001E8C 203C 0000 8000 move.l D0, 0x8000
label00001E92:
00001E92 3600 move.w D3, D0
00001E94 554F subq.w A7, 2
00001E96 2F2F 0006 move.l -[A7], [A7 + 0x6]
00001E9A 2F0B move.l -[A7], A3
00001E9C 7001 moveq.l D0, 0x01
00001E9E 3203 move.w D1, D3
00001EA0 48C1 ext.l D1
00001EA2 8280 or.l D1, D0
00001EA4 3F01 move.w -[A7], D1
00001EA6 4878 FFFF push.l 0xFFFF
00001EAA 2F3C 820E 0018 move.l -[A7], 0x820E0018
00001EB0 A8B5 syscall ScriptUtil
00001EB2 301F move.w D0, [A7]+
00001EB4 594F subq.w A7, 4
00001EB6 2F0B move.l -[A7], A3
00001EB8 4EAD D9AC jsr [A5 - 0x2654]
00001EBC 201F move.l D0, [A7]+
00001EBE 2A00 move.l D5, D0
00001EC0 3004 move.w D0, D4
00001EC2 48C0 ext.l D0
00001EC4 BA80 cmp.l D5, D0
00001EC6 6C0A bge +0xC /* 00001ED2 */
00001EC8 3604 move.w D3, D4
00001ECA 48C3 ext.l D3
00001ECC 9685 sub.l D3, D5
00001ECE 3805 move.w D4, D5
00001ED0 6002 bra +0x4 /* 00001ED4 */
label00001ED2:
00001ED2 7600 moveq.l D3, 0x00
label00001ED4:
00001ED4 3044 movea.w A0, D4
00001ED6 2008 move.l D0, A0
00001ED8 2053 movea.l A0, [A3]
00001EDA 224A movea.l A1, A2
00001EDC A02E syscall BlockMove/BlockMoveData
00001EDE 3044 movea.w A0, D4
00001EE0 D5C8 add.l A2, A0
00001EE2 6002 bra +0x4 /* 00001EE6 */
label00001EE4:
00001EE4 421A clr.b [A2]+
label00001EE6:
00001EE6 2003 move.l D0, D3
00001EE8 5383 subq.l D3, 1
00001EEA 4A80 tst.l D0
00001EEC 66F6 bne -0x8 /* 00001EE4 */
00001EEE 204B movea.l A0, A3
00001EF0 A023 syscall DisposHandle/DisposeHandle
label00001EF2:
00001EF2 206F 0004 movea.l A0, [A7 + 0x4]
00001EF6 A023 syscall DisposHandle/DisposeHandle
label00001EF8:
00001EF8 504F addq.w A7, 8
00001EFA 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00001EFE 4E75 rts
fn00001F00:
00001F00 594F subq.w A7, 4
00001F02 594F subq.w A7, 4
00001F04 3F3C AA6E move.w -[A7], 0xAA6E
00001F08 1F3C 0001 move.b -[A7], 0x1
00001F0C 4EAD D9B2 jsr [A5 - 0x264E]
00001F10 205F movea.l A0, [A7]+
00001F12 2E88 move.l [A7], A0
00001F14 594F subq.w A7, 4
00001F16 3F3C A86E move.w -[A7], 0xA86E
00001F1A 1F3C 0001 move.b -[A7], 0x1
00001F1E 4EAD D9B2 jsr [A5 - 0x264E]
00001F22 205F movea.l A0, [A7]+
00001F24 B1D7 cmpa.l A0, [A7]
00001F26 6608 bne +0xA /* 00001F30 */
00001F28 303C 0200 move.w D0, 0x200
00001F2C 584F addq.w A7, 4
00001F2E 4E75 rts
label00001F30:
00001F30 303C 0400 move.w D0, 0x400
00001F34 584F addq.w A7, 4
00001F36 4E75 rts
fn00001F38:
00001F38 322F 0004 move.w D1, [A7 + 0x4]
00001F3C 3001 move.w D0, D1
00001F3E 0280 0000 0800 andi.l D0, 0x800
00001F44 4A80 tst.l D0
00001F46 6F04 ble +0x6 /* 00001F4C */
00001F48 7001 moveq.l D0, 0x01
00001F4A 4E75 rts
label00001F4C:
00001F4C 7000 moveq.l D0, 0x00
00001F4E 4E75 rts
00001F50 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00001F54 4FEF FFE4 lea.l A7, [A7 - 0x1C]
00001F58 382F 003A move.w D4, [A7 + 0x3A]
00001F5C 266F 0034 movea.l A3, [A7 + 0x34]
00001F60 262F 0030 move.l D3, [A7 + 0x30]
00001F64 2443 movea.l A2, D3
00001F66 7601 moveq.l D3, 0x01
00001F68 4EBA F30A jsr [PC - 0xCF6 /* 00001274 */]
00001F6C 3004 move.w D0, D4
00001F6E 48C0 ext.l D0
00001F70 7202 moveq.l D1, 0x02
00001F72 B081 cmp.l D0, D1
00001F74 6F28 ble +0x2A /* 00001F9E */
00001F76 486F 000A pea.l [A7 + 0xA]
00001F7A AA19 syscall GetForeColor
00001F7C 4857 pea.l [A7]
00001F7E AA1A syscall GetBackColor
00001F80 486F 000A pea.l [A7 + 0xA]
00001F84 486F 0004 pea.l [A7 + 0x4]
00001F88 2F0B move.l -[A7], A3
00001F8A 4EBA FAFC jsr [PC - 0x504 /* 00001A88 */]
00001F8E 4A40 tst.w D0
00001F90 4FEF 000C lea.l A7, [A7 + 0xC]
00001F94 6708 beq +0xA /* 00001F9E */
00001F96 7600 moveq.l D3, 0x00
00001F98 486F 000A pea.l [A7 + 0xA]
00001F9C AA14 syscall RGBForeColor
label00001F9E:
00001F9E 3F2A 0002 move.w -[A7], [A2 + 0x2]
00001FA2 3F12 move.w -[A7], [A2]
00001FA4 A893 syscall MoveTo
00001FA6 2F2A 0004 move.l -[A7], [A2 + 0x4]
00001FAA 4267 clr.w -[A7]
00001FAC 3F2A 000A move.w -[A7], [A2 + 0xA]
00001FB0 A885 syscall DrawText
00001FB2 486F 0006 pea.l [A7 + 0x6]
00001FB6 A874 syscall GetPort
00001FB8 206F 0006 movea.l A0, [A7 + 0x6]
00001FBC 2F68 0030 0010 move.l [A7 + 0x10], [A0 + 0x30]
00001FC2 4A83 tst.l D3
00001FC4 6758 beq +0x5A /* 0000201E */
00001FC6 3F6A 0002 0016 move.w [A7 + 0x16], [A2 + 0x2]
00001FCC 302A 000C move.w D0, [A2 + 0xC]
00001FD0 48C0 ext.l D0
00001FD2 3212 move.w D1, [A2]
00001FD4 48C1 ext.l D1
00001FD6 9280 sub.l D1, D0
00001FD8 3F41 0014 move.w [A7 + 0x14], D1
00001FDC 554F subq.w A7, 2
00001FDE 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001FE2 A88D syscall CharWidth
00001FE4 301F move.w D0, [A7]+
00001FE6 48C0 ext.l D0
00001FE8 322F 0012 move.w D1, [A7 + 0x12]
00001FEC 48C1 ext.l D1
00001FEE D280 add.l D1, D0
00001FF0 3F41 001A move.w [A7 + 0x1A], D1
00001FF4 302A 000E move.w D0, [A2 + 0xE]
00001FF8 48C0 ext.l D0
00001FFA 322F 0014 move.w D1, [A7 + 0x14]
00001FFE 48C1 ext.l D1
00002000 D280 add.l D1, D0
00002002 3F41 0018 move.w [A7 + 0x18], D1
00002006 486D 15E0 pea.l [A5 + 0x15E0]
0000200A A89D syscall PenPat
0000200C 3F3C 000B move.w -[A7], 0xB
00002010 A89C syscall PenMode
00002012 4878 0021 push.l 0x21 /* '!' */
00002016 A862 syscall ForeColor
00002018 486F 0014 pea.l [A7 + 0x14]
0000201C A8A2 syscall PaintRect
label0000201E:
0000201E 4EBA F2D6 jsr [PC - 0xD2A /* 000012F6 */]
00002022 3F2F 0012 move.w -[A7], [A7 + 0x12]
00002026 3F2F 0012 move.w -[A7], [A7 + 0x12]
0000202A A893 syscall MoveTo
0000202C 4FEF 001C lea.l A7, [A7 + 0x1C]
00002030 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00002034 205F movea.l A0, [A7]+
00002036 4FEF 000C lea.l A7, [A7 + 0xC]
0000203A 4ED0 jmp [A0]
fn0000203C:
0000203C 48E7 0030 movem.l -[A7], A2,A3
00002040 266F 000C movea.l A3, [A7 + 0xC]
00002044 2453 movea.l A2, [A3]
00002046 200A move.l D0, A2
00002048 671C beq +0x1E /* 00002066 */
0000204A 4A92 tst.l [A2]
0000204C 6618 bne +0x1A /* 00002066 */
0000204E 204A movea.l A0, A2
00002050 7000 moveq.l D0, 0x00
00002052 A027 syscall ReallocateHandle
00002054 554F subq.w A7, 2
00002056 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000205A 301F move.w D0, [A7]+
0000205C 6708 beq +0xA /* 00002066 */
0000205E 4293 clr.l [A3]
00002060 4CDF 0C00 movem.l A2,A3, [A7]+
00002064 4E75 rts
label00002066:
00002066 200A move.l D0, A2
00002068 670A beq +0xC /* 00002074 */
0000206A 4A92 tst.l [A2]
0000206C 6706 beq +0x8 /* 00002074 */
0000206E 204A movea.l A0, A2
00002070 A023 syscall DisposHandle/DisposeHandle
00002072 4293 clr.l [A3]
label00002074:
00002074 4CDF 0C00 movem.l A2,A3, [A7]+
00002078 4E75 rts
fn0000207A:
0000207A 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
0000207E 286F 001C movea.l A4, [A7 + 0x1C]
00002082 3A2F 0020 move.w D5, [A7 + 0x20]
00002086 266F 0024 movea.l A3, [A7 + 0x24]
0000208A 382F 0028 move.w D4, [A7 + 0x28]
0000208E 246C 008C movea.l A2, [A4 + 0x8C]
00002092 6038 bra +0x3A /* 000020CC */
label00002094:
00002094 7600 moveq.l D3, 0x00
00002096 600C bra +0xE /* 000020A4 */
label00002098:
00002098 2003 move.l D0, D3
0000209A E588 lsl D0, 2
0000209C B5F3 0800 cmpa.l A2, [A3 + D0]
000020A0 670A beq +0xC /* 000020AC */
000020A2 5283 addq.l D3, 1
label000020A4:
000020A4 3004 move.w D0, D4
000020A6 48C0 ext.l D0
000020A8 B680 cmp.l D3, D0
000020AA 6DEC blt -0x12 /* 00002098 */
label000020AC:
000020AC 3004 move.w D0, D4
000020AE 48C0 ext.l D0
000020B0 B680 cmp.l D3, D0
000020B2 6D14 blt +0x16 /* 000020C8 */
000020B4 2F0A move.l -[A7], A2
000020B6 4A45 tst.w D5
000020B8 6608 bne +0xA /* 000020C2 */
000020BA 203C 0000 00FF move.l D0, 0xFF
000020C0 6002 bra +0x4 /* 000020C4 */
label000020C2:
000020C2 7000 moveq.l D0, 0x00
label000020C4:
000020C4 3F00 move.w -[A7], D0
000020C6 A95D syscall HiliteControl
label000020C8:
000020C8 2052 movea.l A0, [A2]
000020CA 2450 movea.l A2, [A0]
label000020CC:
000020CC 200A move.l D0, A2
000020CE 66C4 bne -0x3A /* 00002094 */
000020D0 4AAC 00A0 tst.l [A4 + 0xA0]
000020D4 6728 beq +0x2A /* 000020FE */
000020D6 2F0C move.l -[A7], A4
000020D8 4EBA F074 jsr [PC - 0xF8C /* 0000114E */]
000020DC 4EBA F100 jsr [PC - 0xF00 /* 000011DE */]
000020E0 4A6F 0026 tst.w [A7 + 0x26]
000020E4 584F addq.w A7, 4
000020E6 6708 beq +0xA /* 000020F0 */
000020E8 2F2C 00A0 move.l -[A7], [A4 + 0xA0]
000020EC A9D8 syscall TEActivate
000020EE 6006 bra +0x8 /* 000020F6 */
label000020F0:
000020F0 2F2C 00A0 move.l -[A7], [A4 + 0xA0]
000020F4 A9D9 syscall TEDeactivate
label000020F6:
000020F6 4EBA F136 jsr [PC - 0xECA /* 0000122E */]
000020FA 4EBA F074 jsr [PC - 0xF8C /* 00001170 */]
label000020FE:
000020FE 2F0C move.l -[A7], A4
00002100 3F3C 0003 move.w -[A7], 0x3
00002104 4EBA 0008 jsr [PC + 0x8 /* 0000210E */]
00002108 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
0000210C 4E75 rts
fn0000210E:
0000210E 48E7 0030 movem.l -[A7], A2,A3
00002112 4FEF FFF0 lea.l A7, [A7 - 0x10]
00002116 266F 001E movea.l A3, [A7 + 0x1E]
0000211A 594F subq.w A7, 4
0000211C A8D8 syscall NewRgn
0000211E 205F movea.l A0, [A7]+
00002120 2448 movea.l A2, A0
00002122 2008 move.l D0, A0
00002124 674E beq +0x50 /* 00002174 */
00002126 2F0B move.l -[A7], A3
00002128 4EBA F024 jsr [PC - 0xFDC /* 0000114E */]
0000212C 486F 000C pea.l [A7 + 0xC]
00002130 3F2F 0024 move.w -[A7], [A7 + 0x24]
00002134 2F0B move.l -[A7], A3
00002136 4EBA F5A0 jsr [PC - 0xA60 /* 000016D8 */]
0000213A A8DA syscall OpenRgn
0000213C 486F 0016 pea.l [A7 + 0x16]
00002140 2F3C 0010 0010 move.l -[A7], 0x100010
00002146 A8B0 syscall FrameRoundRect
00002148 2F0A move.l -[A7], A2
0000214A A8DB syscall CloseRgn
0000214C 2F4B 000E move.l [A7 + 0xE], A3
00002150 41EF 0016 lea.l A0, [A7 + 0x16]
00002154 2F48 0012 move.l [A7 + 0x12], A0
00002158 2F0A move.l -[A7], A2
0000215A 486D DF20 pea.l [A5 - 0x20E0]
0000215E 486F 0016 pea.l [A7 + 0x16]
00002162 42A7 clr.l -[A7]
00002164 4EBA F82E jsr [PC - 0x7D2 /* 00001994 */]
00002168 2F0A move.l -[A7], A2
0000216A A8D9 syscall DisposRgn/DisposeRgn
0000216C 4EBA F002 jsr [PC - 0xFFE /* 00001170 */]
00002170 4FEF 000E lea.l A7, [A7 + 0xE]
label00002174:
00002174 4FEF 0010 lea.l A7, [A7 + 0x10]
00002178 4CDF 0C00 movem.l A2,A3, [A7]+
0000217C 205F movea.l A0, [A7]+
0000217E 5C4F addq.w A7, 6
00002180 4ED0 jmp [A0]
00002182 4FEF FF00 lea.l A7, [A7 - 0x100]
00002186 306F 0108 movea.w A0, [A7 + 0x108]
0000218A 2F08 move.l -[A7], A0
0000218C 486F 0004 pea.l [A7 + 0x4]
00002190 4EAD DA6C jsr [A5 - 0x2594]
00002194 2F2F 0104 move.l -[A7], [A7 + 0x104]
00002198 486F 0004 pea.l [A7 + 0x4]
0000219C 486D B45E pea.l [A5 - 0x4BA2]
000021A0 486D B45E pea.l [A5 - 0x4BA2]
000021A4 A98B syscall ParamText
000021A6 3F3C 000A move.w -[A7], 0xA /* '\n' */
000021AA A9C8 syscall SysBeep
000021AC 42A7 clr.l -[A7]
000021AE 42A7 clr.l -[A7]
000021B0 42A7 clr.l -[A7]
000021B2 302D 135E move.w D0, [A5 + 0x135E]
000021B6 48C0 ext.l D0
000021B8 0680 0000 0097 addi.l D0, 0x97
000021BE 3F00 move.w -[A7], D0
000021C0 4EBA 04BE jsr [PC + 0x4BE /* 00002680 */]
000021C4 4FEF 010E lea.l A7, [A7 + 0x10E]
000021C8 4E75 rts
fn000021CA:
000021CA 4FEF FE00 lea.l A7, [A7 - 0x200]
000021CE 4EBA 23FA jsr [PC + 0x23FA /* 000045CA */]
000021D2 4A80 tst.l D0
000021D4 6758 beq +0x5A /* 0000222E */
000021D6 486F 0100 pea.l [A7 + 0x100]
000021DA 302D 135E move.w D0, [A5 + 0x135E]
000021DE 48C0 ext.l D0
000021E0 0680 0000 0080 addi.l D0, 0x80
000021E6 3F00 move.w -[A7], D0
000021E8 3F2F 020A move.w -[A7], [A7 + 0x20A]
000021EC 4EAD DA4E jsr [A5 - 0x25B2]
000021F0 306F 0206 movea.w A0, [A7 + 0x206]
000021F4 2F08 move.l -[A7], A0
000021F6 486F 0004 pea.l [A7 + 0x4]
000021FA 4EAD DA6C jsr [A5 - 0x2594]
000021FE 486F 0100 pea.l [A7 + 0x100]
00002202 486F 0004 pea.l [A7 + 0x4]
00002206 486D B45F pea.l [A5 - 0x4BA1]
0000220A 486D B45F pea.l [A5 - 0x4BA1]
0000220E A98B syscall ParamText
00002210 42A7 clr.l -[A7]
00002212 42A7 clr.l -[A7]
00002214 486D DF58 pea.l [A5 - 0x20A8]
00002218 302D 135E move.w D0, [A5 + 0x135E]
0000221C 48C0 ext.l D0
0000221E 0680 0000 0080 addi.l D0, 0x80
00002224 3F00 move.w -[A7], D0
00002226 4EBA 0458 jsr [PC + 0x458 /* 00002680 */]
0000222A 4FEF 000E lea.l A7, [A7 + 0xE]
label0000222E:
0000222E 4FEF 0200 lea.l A7, [A7 + 0x200]
00002232 4E75 rts
00002234 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002238 4FEF FF00 lea.l A7, [A7 - 0x100]
0000223C 286F 0128 movea.l A4, [A7 + 0x128]
00002240 7600 moveq.l D3, 0x00
00002242 302D 135E move.w D0, [A5 + 0x135E]
00002246 48C0 ext.l D0
00002248 0680 0000 008C addi.l D0, 0x8C
0000224E 3F00 move.w -[A7], D0
00002250 4EAD DB62 jsr [A5 - 0x249E]
00002254 4A80 tst.l D0
00002256 544F addq.w A7, 2
00002258 660C bne +0xE /* 00002266 */
0000225A 7000 moveq.l D0, 0x00
0000225C 4FEF 0100 lea.l A7, [A7 + 0x100]
00002260 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002264 4E75 rts
label00002266:
00002266 302D 135E move.w D0, [A5 + 0x135E]
0000226A 48C0 ext.l D0
0000226C 0680 0000 0081 addi.l D0, 0x81
00002272 3F00 move.w -[A7], D0
00002274 4EBA 1BDC jsr [PC + 0x1BDC /* 00003E52 */]
00002278 594F subq.w A7, 4
0000227A 302D 135E move.w D0, [A5 + 0x135E]
0000227E 48C0 ext.l D0
00002280 0680 0000 0081 addi.l D0, 0x81
00002286 3F00 move.w -[A7], D0
00002288 42A7 clr.l -[A7]
0000228A 4878 FFFF push.l 0xFFFF
0000228E 206D 135A movea.l A0, [A5 + 0x135A /* export_615 */]
00002292 4E90 jsr [A0]
00002294 205F movea.l A0, [A7]+
00002296 2448 movea.l A2, A0
00002298 2008 move.l D0, A0
0000229A 544F addq.w A7, 2
0000229C 6700 0148 beq +0x14A /* 000023E6 */
000022A0 2F0A move.l -[A7], A2
000022A2 4EBA 1F96 jsr [PC + 0x1F96 /* 0000423A */]
000022A6 4878 0001 push.l 0x1
000022AA 2F0A move.l -[A7], A2
000022AC 4EBA 1ACA jsr [PC + 0x1ACA /* 00003D78 */]
000022B0 4AAD 8336 tst.l [A5 - 0x7CCA]
000022B4 4FEF 000C lea.l A7, [A7 + 0xC]
000022B8 660C bne +0xE /* 000022C6 */
000022BA 2F0A move.l -[A7], A2
000022BC 206D 134E movea.l A0, [A5 + 0x134E]
000022C0 4E90 jsr [A0]
000022C2 6000 0122 bra +0x124 /* 000023E6 */
label000022C6:
000022C6 42A7 clr.l -[A7]
000022C8 2F2F 0120 move.l -[A7], [A7 + 0x120]
000022CC 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
000022D0 4EBA 0F1A jsr [PC + 0xF1A /* 000031EC */]
000022D4 2F2F 0124 move.l -[A7], [A7 + 0x124]
000022D8 486F 0010 pea.l [A7 + 0x10]
000022DC 4EBA F326 jsr [PC - 0xCDA /* 00001604 */]
000022E0 3F3C 0004 move.w -[A7], 0x4
000022E4 2F0A move.l -[A7], A2
000022E6 4EBA F396 jsr [PC - 0xC6A /* 0000167E */]
000022EA 5C4F addq.w A7, 6
000022EC 2F08 move.l -[A7], A0
000022EE 486F 0018 pea.l [A7 + 0x18]
000022F2 A98F syscall SetDialogItemText/SetIText
000022F4 42A7 clr.l -[A7]
000022F6 2F0A move.l -[A7], A2
000022F8 4EBA 19F4 jsr [PC + 0x19F4 /* 00003CEE */]
000022FC 2F0A move.l -[A7], A2
000022FE 42A7 clr.l -[A7]
00002300 A918 syscall SetWRefCon
00002302 302D 135E move.w D0, [A5 + 0x135E]
00002306 48C0 ext.l D0
00002308 0680 0000 0081 addi.l D0, 0x81
0000230E 3F00 move.w -[A7], D0
00002310 486D B47E pea.l [A5 - 0x4B82]
00002314 42A7 clr.l -[A7]
00002316 2F0A move.l -[A7], A2
00002318 4EBA 0F74 jsr [PC + 0xF74 /* 0000328E */]
0000231C 52AD B456 addq.l [A5 - 0x4BAA], 1
00002320 202D B456 move.l D0, [A5 - 0x4BAA]
00002324 E988 lsl D0, 4
00002326 41ED 82E0 lea.l A0, [A5 - 0x7D20]
0000232A 42B0 0800 clr.l [A0 + D0]
0000232E 202D B456 move.l D0, [A5 - 0x4BAA]
00002332 E988 lsl D0, 4
00002334 2648 movea.l A3, A0
00002336 D7C0 add.l A3, D0
00002338 42AB 0004 clr.l [A3 + 0x4]
0000233C 274A 0008 move.l [A3 + 0x8], A2
00002340 202D B456 move.l D0, [A5 - 0x4BAA]
00002344 E988 lsl D0, 4
00002346 7201 moveq.l D1, 0x01
00002348 2181 080C move.l [A0 + D0 + 0xC], D1
0000234C 4EBA 26D8 jsr [PC + 0x26D8 /* 00004A26 */]
00002350 5340 subq.w D0, 1
00002352 57C0 seq D0
00002354 4400 neg.b D0
00002356 4880 ext.w D0
00002358 48C0 ext.l D0
0000235A 2600 move.l D3, D0
0000235C 4FEF 002A lea.l A7, [A7 + 0x2A]
00002360 6762 beq +0x64 /* 000023C4 */
00002362 3F3C 0004 move.w -[A7], 0x4
00002366 2F0A move.l -[A7], A2
00002368 4EBA F314 jsr [PC - 0xCEC /* 0000167E */]
0000236C 5C4F addq.w A7, 6
0000236E 2F08 move.l -[A7], A0
00002370 486F 0004 pea.l [A7 + 0x4]
00002374 A990 syscall GetDialogItemText/GetIText
00002376 4A17 tst.b [A7]
00002378 660A bne +0xC /* 00002384 */
0000237A 1EBC 0001 move.b [A7], 0x1
0000237E 1F7C 0020 0001 move.b [A7 + 0x1], 0x20 /* ' ' */
label00002384:
00002384 4857 pea.l [A7]
00002386 4EBA 2324 jsr [PC + 0x2324 /* 000046AC */]
0000238A 486F 0004 pea.l [A7 + 0x4]
0000238E 2F2F 012C move.l -[A7], [A7 + 0x12C]
00002392 2F2F 012C move.l -[A7], [A7 + 0x12C]
00002396 4EBA F2AC jsr [PC - 0xD54 /* 00001644 */]
0000239A 4214 clr.b [A4]
0000239C 302D 8334 move.w D0, [A5 - 0x7CCC]
000023A0 48C0 ext.l D0
000023A2 7203 moveq.l D1, 0x03
000023A4 B081 cmp.l D0, D1
000023A6 4FEF 0010 lea.l A7, [A7 + 0x10]
000023AA 6D18 blt +0x1A /* 000023C4 */
000023AC 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
000023B0 3F2D 8334 move.w -[A7], [A5 - 0x7CCC]
000023B4 486F 0006 pea.l [A7 + 0x6]
000023B8 A946 syscall GetMenuItemText/GetItem
000023BA 0C17 0001 cmpi.b [A7], 0x1
000023BE 6604 bne +0x6 /* 000023C4 */
000023C0 18AF 0001 move.b [A4], [A7 + 0x1]
label000023C4:
000023C4 53AD B456 subq.l [A5 - 0x4BAA], 1
000023C8 206A 0076 movea.l A0, [A2 + 0x76]
000023CC 2050 movea.l A0, [A0]
000023CE 2B68 0002 B47E move.l [A5 - 0x4B82], [A0 + 0x2]
000023D4 42A7 clr.l -[A7]
000023D6 2F0A move.l -[A7], A2
000023D8 4EBA 199E jsr [PC + 0x199E /* 00003D78 */]
000023DC 2F0A move.l -[A7], A2
000023DE 206D 134E movea.l A0, [A5 + 0x134E]
000023E2 4E90 jsr [A0]
000023E4 504F addq.w A7, 8
label000023E6:
000023E6 302D 135E move.w D0, [A5 + 0x135E]
000023EA 48C0 ext.l D0
000023EC 0680 0000 008C addi.l D0, 0x8C
000023F2 3F00 move.w -[A7], D0
000023F4 4EAD DB68 jsr [A5 - 0x2498]
000023F8 3003 move.w D0, D3
000023FA 4FEF 0102 lea.l A7, [A7 + 0x102]
000023FE 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002402 4E75 rts
00002404 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
00002408 4FEF FFE8 lea.l A7, [A7 - 0x18]
0000240C 2C6F 0038 movea.l A6, [A7 + 0x38]
00002410 286F 003C movea.l A4, [A7 + 0x3C]
00002414 97CB sub.l A3, A3
00002416 7801 moveq.l D4, 0x01
00002418 302D 135E move.w D0, [A5 + 0x135E]
0000241C 48C0 ext.l D0
0000241E 0680 0000 008C addi.l D0, 0x8C
00002424 3F00 move.w -[A7], D0
00002426 4EAD DB62 jsr [A5 - 0x249E]
0000242A 4A80 tst.l D0
0000242C 544F addq.w A7, 2
0000242E 660C bne +0xE /* 0000243C */
00002430 91C8 sub.l A0, A0
00002432 4FEF 0018 lea.l A7, [A7 + 0x18]
00002436 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000243A 4E75 rts
label0000243C:
0000243C 302D 135E move.w D0, [A5 + 0x135E]
00002440 48C0 ext.l D0
00002442 0680 0000 0093 addi.l D0, 0x93
00002448 3F00 move.w -[A7], D0
0000244A 4EAD DB62 jsr [A5 - 0x249E]
0000244E 4A80 tst.l D0
00002450 544F addq.w A7, 2
00002452 661E bne +0x20 /* 00002472 */
00002454 302D 135E move.w D0, [A5 + 0x135E]
00002458 48C0 ext.l D0
0000245A 0680 0000 008C addi.l D0, 0x8C
00002460 3F00 move.w -[A7], D0
00002462 4EAD DB68 jsr [A5 - 0x2498]
00002466 91C8 sub.l A0, A0
00002468 4FEF 001A lea.l A7, [A7 + 0x1A]
0000246C 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00002470 4E75 rts
label00002472:
00002472 302D 135E move.w D0, [A5 + 0x135E]
00002476 48C0 ext.l D0
00002478 0680 0000 0082 addi.l D0, 0x82
0000247E 3F00 move.w -[A7], D0
00002480 4EBA 19D0 jsr [PC + 0x19D0 /* 00003E52 */]
00002484 594F subq.w A7, 4
00002486 302D 135E move.w D0, [A5 + 0x135E]
0000248A 48C0 ext.l D0
0000248C 0680 0000 0082 addi.l D0, 0x82
00002492 3F00 move.w -[A7], D0
00002494 42A7 clr.l -[A7]
00002496 4878 FFFF push.l 0xFFFF
0000249A 206D 135A movea.l A0, [A5 + 0x135A /* export_615 */]
0000249E 4E90 jsr [A0]
000024A0 205F movea.l A0, [A7]+
000024A2 2448 movea.l A2, A0
000024A4 2008 move.l D0, A0
000024A6 544F addq.w A7, 2
000024A8 6700 00F0 beq +0xF2 /* 0000259A */
000024AC 2F0A move.l -[A7], A2
000024AE 4EBA 1D8A jsr [PC + 0x1D8A /* 0000423A */]
000024B2 4878 0001 push.l 0x1
000024B6 2F0A move.l -[A7], A2
000024B8 4EBA 18BE jsr [PC + 0x18BE /* 00003D78 */]
000024BC 4AAD 8336 tst.l [A5 - 0x7CCA]
000024C0 4FEF 000C lea.l A7, [A7 + 0xC]
000024C4 660C bne +0xE /* 000024D2 */
000024C6 2F0A move.l -[A7], A2
000024C8 206D 134E movea.l A0, [A5 + 0x134E]
000024CC 4E90 jsr [A0]
000024CE 6000 00CA bra +0xCC /* 0000259A */
label000024D2:
000024D2 2F0A move.l -[A7], A2
000024D4 42A7 clr.l -[A7]
000024D6 A918 syscall SetWRefCon
000024D8 2E8E move.l [A7], A6
000024DA 3F3C 0008 move.w -[A7], 0x8
000024DE 2F0A move.l -[A7], A2
000024E0 4EBA F19C jsr [PC - 0xE64 /* 0000167E */]
000024E4 2F48 000E move.l [A7 + 0xE], A0
000024E8 3F3C 000C move.w -[A7], 0xC
000024EC 2F0A move.l -[A7], A2
000024EE 4EBA F18E jsr [PC - 0xE72 /* 0000167E */]
000024F2 2F48 0018 move.l [A7 + 0x18], A0
000024F6 42AF 0020 clr.l [A7 + 0x20]
000024FA 2F0A move.l -[A7], A2
000024FC 4EBA 0E9E jsr [PC + 0xE9E /* 0000339C */]
00002500 2F48 0014 move.l [A7 + 0x14], A0
00002504 2008 move.l D0, A0
00002506 4FEF 0010 lea.l A7, [A7 + 0x10]
0000250A 660C bne +0xE /* 00002518 */
0000250C 2F0A move.l -[A7], A2
0000250E 206D 134E movea.l A0, [A5 + 0x134E]
00002512 4E90 jsr [A0]
00002514 6000 0084 bra +0x86 /* 0000259A */
label00002518:
00002518 554F subq.w A7, 2
0000251A 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
0000251E A950 syscall CountMItems
00002520 301F move.w D0, [A7]+
00002522 48C0 ext.l D0
00002524 5280 addq.l D0, 1
00002526 A322 syscall NewHandleClear, flags=3
00002528 2F48 0010 move.l [A7 + 0x10], A0
0000252C 2F0A move.l -[A7], A2
0000252E 486F 0004 pea.l [A7 + 0x4]
00002532 A918 syscall SetWRefCon
00002534 554F subq.w A7, 2
00002536 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
0000253A 301F move.w D0, [A7]+
0000253C 3600 move.w D3, D0
0000253E 662E bne +0x30 /* 0000256E */
00002540 206F 0010 movea.l A0, [A7 + 0x10]
00002544 A029 syscall HLock
00002546 206F 0010 movea.l A0, [A7 + 0x10]
0000254A 2F10 move.l -[A7], [A0]
0000254C 2F0C move.l -[A7], A4
0000254E 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
00002552 4EBA 0C98 jsr [PC + 0xC98 /* 000031EC */]
00002556 206F 001C movea.l A0, [A7 + 0x1C]
0000255A A02A syscall HUnlock
0000255C 2F0C move.l -[A7], A4
0000255E 486F 0010 pea.l [A7 + 0x10]
00002562 2F0A move.l -[A7], A2
00002564 4EBA 0EC2 jsr [PC + 0xEC2 /* 00003428 */]
00002568 3600 move.w D3, D0
0000256A 4FEF 0018 lea.l A7, [A7 + 0x18]
label0000256E:
0000256E 4A43 tst.w D3
00002570 671E beq +0x20 /* 00002590 */
00002572 2F2F 0004 move.l -[A7], [A7 + 0x4]
00002576 4EBA 108E jsr [PC + 0x108E /* 00003606 */]
0000257A 2F0A move.l -[A7], A2
0000257C 206D 134E movea.l A0, [A5 + 0x134E]
00002580 4E90 jsr [A0]
00002582 3F03 move.w -[A7], D3
00002584 3F3C 0002 move.w -[A7], 0x2
00002588 4EBA FC40 jsr [PC - 0x3C0 /* 000021CA */]
0000258C 504F addq.w A7, 8
0000258E 600A bra +0xC /* 0000259A */
label00002590:
00002590 7800 moveq.l D4, 0x00
00002592 7001 moveq.l D0, 0x01
00002594 B880 cmp.l D4, D0
00002596 6700 FEDA beq -0x124 /* 00002472 */
label0000259A:
0000259A 4A84 tst.l D4
0000259C 6600 00B2 bne +0xB4 /* 00002650 */
000025A0 302D 135E move.w D0, [A5 + 0x135E]
000025A4 48C0 ext.l D0
000025A6 0680 0000 0082 addi.l D0, 0x82
000025AC 3F00 move.w -[A7], D0
000025AE 486D B482 pea.l [A5 - 0x4B7E]
000025B2 486F 0006 pea.l [A7 + 0x6]
000025B6 2F0A move.l -[A7], A2
000025B8 4EBA 0CD4 jsr [PC + 0xCD4 /* 0000328E */]
000025BC 52AD B456 addq.l [A5 - 0x4BAA], 1
000025C0 202D B456 move.l D0, [A5 - 0x4BAA]
000025C4 E988 lsl D0, 4
000025C6 41ED 82E0 lea.l A0, [A5 - 0x7D20]
000025CA 42B0 0800 clr.l [A0 + D0]
000025CE 202D B456 move.l D0, [A5 - 0x4BAA]
000025D2 E988 lsl D0, 4
000025D4 D1C0 add.l A0, D0
000025D6 2A08 move.l D5, A0
000025D8 2045 movea.l A0, D5
000025DA 42A8 0004 clr.l [A0 + 0x4]
000025DE 214A 0008 move.l [A0 + 0x8], A2
000025E2 202D B456 move.l D0, [A5 - 0x4BAA]
000025E6 E988 lsl D0, 4
000025E8 41ED 82E0 lea.l A0, [A5 - 0x7D20]
000025EC 7201 moveq.l D1, 0x01
000025EE 2181 080C move.l [A0 + D0 + 0xC], D1
000025F2 4EBA 2432 jsr [PC + 0x2432 /* 00004A26 */]
000025F6 5340 subq.w D0, 1
000025F8 4FEF 000E lea.l A7, [A7 + 0xE]
000025FC 660E bne +0x10 /* 0000260C */
000025FE 2F2F 0004 move.l -[A7], [A7 + 0x4]
00002602 4EBA 14AC jsr [PC + 0x14AC /* 00003AB0 */]
00002606 2648 movea.l A3, A0
00002608 584F addq.w A7, 4
0000260A 6002 bra +0x4 /* 0000260E */
label0000260C:
0000260C 97CB sub.l A3, A3
label0000260E:
0000260E 53AD B456 subq.l [A5 - 0x4BAA], 1
00002612 200B move.l D0, A3
00002614 670C beq +0xE /* 00002622 */
00002616 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000261A 4EAD F8B8 jsr [A5 - 0x748]
0000261E 584F addq.w A7, 4
00002620 600A bra +0xC /* 0000262C */
label00002622:
00002622 2F2F 0004 move.l -[A7], [A7 + 0x4]
00002626 4EBA 0FDE jsr [PC + 0xFDE /* 00003606 */]
0000262A 584F addq.w A7, 4
label0000262C:
0000262C 206F 0010 movea.l A0, [A7 + 0x10]
00002630 A023 syscall DisposHandle/DisposeHandle
00002632 206A 0076 movea.l A0, [A2 + 0x76]
00002636 2050 movea.l A0, [A0]
00002638 2B68 0002 B482 move.l [A5 - 0x4B7E], [A0 + 0x2]
0000263E 42A7 clr.l -[A7]
00002640 2F0A move.l -[A7], A2
00002642 4EBA 1734 jsr [PC + 0x1734 /* 00003D78 */]
00002646 2F0A move.l -[A7], A2
00002648 206D 134E movea.l A0, [A5 + 0x134E]
0000264C 4E90 jsr [A0]
0000264E 504F addq.w A7, 8
label00002650:
00002650 302D 135E move.w D0, [A5 + 0x135E]
00002654 48C0 ext.l D0
00002656 0680 0000 008C addi.l D0, 0x8C
0000265C 3F00 move.w -[A7], D0
0000265E 4EAD DB68 jsr [A5 - 0x2498]
00002662 302D 135E move.w D0, [A5 + 0x135E]
00002666 48C0 ext.l D0
00002668 0680 0000 0093 addi.l D0, 0x93
0000266E 3F00 move.w -[A7], D0
00002670 4EAD DB68 jsr [A5 - 0x2498]
00002674 204B movea.l A0, A3
00002676 4FEF 001C lea.l A7, [A7 + 0x1C]
0000267A 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000267E 4E75 rts
fn00002680:
00002680 4EBA 1F48 jsr [PC + 0x1F48 /* 000045CA */]
00002684 4A80 tst.l D0
00002686 6732 beq +0x34 /* 000026BA */
00002688 52AD 833A addq.l [A5 - 0x7CC6], 1
0000268C 2B6F 000A 82DC move.l [A5 - 0x7D24], [A7 + 0xA]
00002692 2B6F 000E 82D8 move.l [A5 - 0x7D28], [A7 + 0xE]
00002698 554F subq.w A7, 2
0000269A 3F2F 0006 move.w -[A7], [A7 + 0x6]
0000269E 2F2F 000A move.l -[A7], [A7 + 0xA]
000026A2 42A7 clr.l -[A7]
000026A4 42A7 clr.l -[A7]
000026A6 42A7 clr.l -[A7]
000026A8 4EBA 0072 jsr [PC + 0x72 /* 0000271C */]
000026AC 301F move.w D0, [A7]+
000026AE 42AD 82D8 clr.l [A5 - 0x7D28]
000026B2 42AD 82DC clr.l [A5 - 0x7D24]
000026B6 53AD 833A subq.l [A5 - 0x7CC6], 1
label000026BA:
000026BA 4E75 rts
000026BC 2F0C move.l -[A7], A4
000026BE 286F 000C movea.l A4, [A7 + 0xC]
000026C2 226F 0008 movea.l A1, [A7 + 0x8]
000026C6 41ED 82E0 lea.l A0, [A5 - 0x7D20]
000026CA 7200 moveq.l D1, 0x00
000026CC 6012 bra +0x14 /* 000026E0 */
label000026CE:
000026CE B9E8 0008 cmpa.l A4, [A0 + 0x8]
000026D2 6606 bne +0x8 /* 000026DA */
000026D4 2149 0004 move.l [A0 + 0x4], A1
000026D8 600C bra +0xE /* 000026E6 */
label000026DA:
000026DA 5281 addq.l D1, 1
000026DC 7010 moveq.l D0, 0x10
000026DE D1C0 add.l A0, D0
label000026E0:
000026E0 B2AD B456 cmp.l D1, [A5 - 0x4BAA]
000026E4 6FE8 ble -0x16 /* 000026CE */
label000026E6:
000026E6 285F movea.l A4, [A7]+
000026E8 205F movea.l A0, [A7]+
000026EA 504F addq.w A7, 8
000026EC 4ED0 jmp [A0]
000026EE 4878 0001 push.l 0x1
000026F2 42A7 clr.l -[A7]
000026F4 2F2F 000C move.l -[A7], [A7 + 0xC]
000026F8 2F2F 0014 move.l -[A7], [A7 + 0x14]
000026FC 2F2F 001C move.l -[A7], [A7 + 0x1C]
00002700 2F2F 0024 move.l -[A7], [A7 + 0x24]
00002704 3F2F 002C move.w -[A7], [A7 + 0x2C]
00002708 4EBA 19D4 jsr [PC + 0x19D4 /* 000040DE */]
0000270C 3F40 0030 move.w [A7 + 0x30], D0
00002710 4FEF 001A lea.l A7, [A7 + 0x1A]
00002714 205F movea.l A0, [A7]+
00002716 4FEF 0012 lea.l A7, [A7 + 0x12]
0000271A 4ED0 jmp [A0]
fn0000271C:
0000271C 42A7 clr.l -[A7]
0000271E 4878 0001 push.l 0x1
00002722 2F2F 000C move.l -[A7], [A7 + 0xC]
00002726 2F2F 0014 move.l -[A7], [A7 + 0x14]
0000272A 2F2F 001C move.l -[A7], [A7 + 0x1C]
0000272E 2F2F 0024 move.l -[A7], [A7 + 0x24]
00002732 3F2F 002C move.w -[A7], [A7 + 0x2C]
00002736 4EBA 19A6 jsr [PC + 0x19A6 /* 000040DE */]
0000273A 3F40 0030 move.w [A7 + 0x30], D0
0000273E 4FEF 001A lea.l A7, [A7 + 0x1A]
00002742 205F movea.l A0, [A7]+
00002744 4FEF 0012 lea.l A7, [A7 + 0x12]
00002748 4ED0 jmp [A0]
fn0000274A:
0000274A 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
0000274E 266F 0018 movea.l A3, [A7 + 0x18]
00002752 2C6F 001C movea.l A6, [A7 + 0x1C]
00002756 286F 0020 movea.l A4, [A7 + 0x20]
0000275A 4AAD 833A tst.l [A5 - 0x7CC6]
0000275E 6608 bne +0xA /* 00002768 */
00002760 4EBA 1B0C jsr [PC + 0x1B0C /* 0000426E */]
00002764 4A80 tst.l D0
00002766 6612 bne +0x14 /* 0000277A */
label00002768:
00002768 554F subq.w A7, 2
0000276A 2F0B move.l -[A7], A3
0000276C 2F0E move.l -[A7], A6
0000276E 2F0C move.l -[A7], A4
00002770 A980 syscall DialogSelect
00002772 101F move.b D0, [A7]+
00002774 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00002778 4E75 rts
label0000277A:
0000277A 594F subq.w A7, 4
0000277C 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00002780 4E90 jsr [A0]
00002782 205F movea.l A0, [A7]+
00002784 2448 movea.l A2, A0
00002786 200A move.l D0, A2
00002788 6758 beq +0x5A /* 000027E2 */
0000278A 2F0A move.l -[A7], A2
0000278C 4EBA E9C0 jsr [PC - 0x1640 /* 0000114E */]
00002790 7000 moveq.l D0, 0x00
00002792 3013 move.w D0, [A3]
00002794 584F addq.w A7, 4
00002796 0C80 0000 0008 cmpi.l D0, 0x8
0000279C 6244 bhi +0x46 /* 000027E2 */
0000279E D040 add.w D0, D0
000027A0 303B 0006 move.w D0, [PC + D0.w + 0x6]
000027A4 4EFB 0002 jmp [PC + D0.w + 0x2]
000027A8 003A 0034 003A ori.b [PC + 0x3A /* 000027E4, value 0x2F '/' */], 0x34 /* '4' */
000027AE 0034 003A 0034 ori.b [A4 + D0.w + 0x34], 0x3A /* ':' */
000027B4 0012 003A ori.b [A2], 0x3A /* ':' */
000027B8 0034 B5EB 0002 ori.b [A4 + D0.w + 0x2], 0xEB
000027BE 6622 bne +0x24 /* 000027E2 */
000027C0 2F2F 0024 move.l -[A7], [A7 + 0x24]
000027C4 2F0A move.l -[A7], A2
000027C6 4EBA 1D2A jsr [PC + 0x1D2A /* 000044F2 */]
000027CA 38BC FFFF move.w [A4], 0xFFFF
000027CE 4EBA E9A0 jsr [PC - 0x1660 /* 00001170 */]
000027D2 7001 moveq.l D0, 0x01
000027D4 504F addq.w A7, 8
000027D6 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
000027DA 4E75 rts
000027DC 4878 001E push.l 0x1E
000027E0 A863 syscall BackColor
label000027E2:
000027E2 554F subq.w A7, 2
000027E4 2F0B move.l -[A7], A3
000027E6 2F0E move.l -[A7], A6
000027E8 2F0C move.l -[A7], A4
000027EA A980 syscall DialogSelect
000027EC 101F move.b D0, [A7]+
000027EE 1600 move.b D3, D0
000027F0 200A move.l D0, A2
000027F2 6704 beq +0x6 /* 000027F8 */
000027F4 4EBA E97A jsr [PC - 0x1686 /* 00001170 */]
label000027F8:
000027F8 1003 move.b D0, D3
000027FA 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
000027FE 4E75 rts
00002800 48E7 1820 movem.l -[A7], D3,D4,A2
00002804 514F subq.w A7, 8
00002806 246F 0018 movea.l A2, [A7 + 0x18]
0000280A 382F 001C move.w D4, [A7 + 0x1C]
0000280E 2F0A move.l -[A7], A2
00002810 4EBA E93C jsr [PC - 0x16C4 /* 0000114E */]
00002814 4EBA 1A58 jsr [PC + 0x1A58 /* 0000426E */]
00002818 4A80 tst.l D0
0000281A 584F addq.w A7, 4
0000281C 6722 beq +0x24 /* 00002840 */
0000281E 302F 001E move.w D0, [A7 + 0x1E]
00002822 48C0 ext.l D0
00002824 3044 movea.w A0, D4
00002826 2608 move.l D3, A0
00002828 7410 moveq.l D2, 0x10
0000282A E5AB lsl D3, D2
0000282C 8680 or.l D3, D0
0000282E 2F2A 0018 move.l -[A7], [A2 + 0x18]
00002832 486D DF60 pea.l [A5 - 0x20A0]
00002836 2F03 move.l -[A7], D3
00002838 42A7 clr.l -[A7]
0000283A 4EBA F158 jsr [PC - 0xEA8 /* 00001994 */]
0000283E 6014 bra +0x16 /* 00002854 */
label00002840:
00002840 4857 pea.l [A7]
00002842 3F04 move.w -[A7], D4
00002844 2F0A move.l -[A7], A2
00002846 4EBA EE90 jsr [PC - 0x1170 /* 000016D8 */]
0000284A 486F 000A pea.l [A7 + 0xA]
0000284E A8A1 syscall FrameRect
00002850 4FEF 000A lea.l A7, [A7 + 0xA]
label00002854:
00002854 4EBA E91A jsr [PC - 0x16E6 /* 00001170 */]
00002858 504F addq.w A7, 8
0000285A 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000285E 4E75 rts
fn00002860:
00002860 48E7 1030 movem.l -[A7], D3,A2,A3
00002864 4FEF FFF6 lea.l A7, [A7 - 0xA]
00002868 266F 001E movea.l A3, [A7 + 0x1E]
0000286C 7001 moveq.l D0, 0x01
0000286E 2F40 0004 move.l [A7 + 0x4], D0
00002872 7000 moveq.l D0, 0x00
00002874 3013 move.w D0, [A3]
00002876 5780 subq.l D0, 3
00002878 6712 beq +0x14 /* 0000288C */
0000287A 5180 subq.l D0, 8
0000287C 5980 subq.l D0, 4
0000287E 6702 beq +0x4 /* 00002882 */
00002880 602A bra +0x2C /* 000028AC */
label00002882:
00002882 4FEF 000A lea.l A7, [A7 + 0xA]
00002886 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000288A 4E75 rts
label0000288C:
0000288C 3F2B 000E move.w -[A7], [A3 + 0xE]
00002890 202B 0002 move.l D0, [A3 + 0x2]
00002894 0280 0000 00FF andi.l D0, 0xFF
0000289A 1F00 move.b -[A7], D0
0000289C 2F2F 001E move.l -[A7], [A7 + 0x1E]
000028A0 4EBA 259E jsr [PC + 0x259E /* 00004E40 */]
000028A4 4A40 tst.w D0
000028A6 504F addq.w A7, 8
000028A8 6600 0396 bne +0x398 /* 00002C40 */
label000028AC:
000028AC 4A6F 0022 tst.w [A7 + 0x22]
000028B0 6718 beq +0x1A /* 000028CA */
000028B2 486F 0004 pea.l [A7 + 0x4]
000028B6 2F0B move.l -[A7], A3
000028B8 2F2F 0022 move.l -[A7], [A7 + 0x22]
000028BC 4EBA 1774 jsr [PC + 0x1774 /* 00004032 */]
000028C0 4A80 tst.l D0
000028C2 4FEF 000C lea.l A7, [A7 + 0xC]
000028C6 6600 0378 bne +0x37A /* 00002C40 */
label000028CA:
000028CA 594F subq.w A7, 4
000028CC 2F2F 001E move.l -[A7], [A7 + 0x1E]
000028D0 A917 syscall GetWRefCon
000028D2 201F move.l D0, [A7]+
000028D4 2440 movea.l A2, D0
000028D6 7000 moveq.l D0, 0x00
000028D8 3013 move.w D0, [A3]
000028DA 4EAD D916 jsr [A5 - 0x26EA]
000028DE 0256 0000 andi.w [A6], 0x0
000028E2 0000 0000 ori.b D0, 0x0
000028E6 000F 0006 ori.b A7, 0x6
000028EA 0000 0000 ori.b D0, 0x0
000028EE 0026 0000 ori.b -[A6], 0x0
000028F2 0001 01FC ori.b D1, 0xFC
000028F6 0000 0003 ori.b D0, 0x3
000028FA 00EE 0000 ori.? [A6 + 0x0], 0xFFFFFFFFFFFFFFFF
000028FE 0005 00E8 ori.b D5, 0xE8
00002902 0000 0006 ori.b D0, 0x6
00002906 007A 0000 0008 ori.w [PC + 0x8 /* 00002910, value 0xF */], 0x0
0000290C 004E 0000 ori.w A6, 0x0
00002910 000F 0030 ori.b A7, 0x30 /* '0' */
00002914 4AAD 833A tst.l [A5 - 0x7CC6]
00002918 6712 beq +0x14 /* 0000292C */
0000291A 4AAD 82DC tst.l [A5 - 0x7D24]
0000291E 670C beq +0xE /* 0000292C */
00002920 2F2F 001A move.l -[A7], [A7 + 0x1A]
00002924 206D 82DC movea.l A0, [A5 - 0x7D24]
00002928 4E90 jsr [A0]
0000292A 584F addq.w A7, 4
label0000292C:
0000292C 200A move.l D0, A2
0000292E 6700 0204 beq +0x206 /* 00002B34 */
00002932 2F0A move.l -[A7], A2
00002934 2F2F 001E move.l -[A7], [A7 + 0x1E]
00002938 4EBA 0EFC jsr [PC + 0xEFC /* 00003836 */]
0000293C 504F addq.w A7, 8
0000293E 6000 01F4 bra +0x1F6 /* 00002B34 */
00002942 202B 0002 move.l D0, [A3 + 0x2]
00002946 0280 FF00 0000 andi.l D0, 0xFF000000
0000294C 7218 moveq.l D1, 0x18
0000294E E2A8 lsr D0, D1
00002950 5380 subq.l D0, 1
00002952 6600 01E0 bne +0x1E2 /* 00002B34 */
00002956 4EBA EA94 jsr [PC - 0x156C /* 000013EC */]
0000295A 302B 000E move.w D0, [A3 + 0xE]
0000295E 7201 moveq.l D1, 0x01
00002960 C081 and.l D0, D1
00002962 56C0 sne D0
00002964 4400 neg.b D0
00002966 4880 ext.w D0
00002968 48C0 ext.l D0
0000296A 2F00 move.l -[A7], D0
0000296C 2F0A move.l -[A7], A2
0000296E 2F2F 0022 move.l -[A7], [A7 + 0x22]
00002972 4EBA 1562 jsr [PC + 0x1562 /* 00003ED6 */]
00002976 4FEF 0016 lea.l A7, [A7 + 0x16]
0000297A 4CDF 0C08 movem.l D3,A2,A3, [A7]+
0000297E 4E75 rts
00002980 7000 moveq.l D0, 0x00
00002982 102D 81A0 move.b D0, [A5 - 0x7E60]
00002986 7202 moveq.l D1, 0x02
00002988 B081 cmp.l D0, D1
0000298A 6D00 01A8 blt +0x1AA /* 00002B34 */
0000298E 4AAD 82D8 tst.l [A5 - 0x7D28]
00002992 6700 01A0 beq +0x1A2 /* 00002B34 */
00002996 2F2F 001A move.l -[A7], [A7 + 0x1A]
0000299A 4EBA E7B2 jsr [PC - 0x184E /* 0000114E */]
0000299E 206F 001E movea.l A0, [A7 + 0x1E]
000029A2 4868 0010 pea.l [A0 + 0x10]
000029A6 4EBA F2D0 jsr [PC - 0xD30 /* 00001C78 */]
000029AA 4A40 tst.w D0
000029AC 504F addq.w A7, 8
000029AE 6700 0184 beq +0x186 /* 00002B34 */
000029B2 2F2F 001A move.l -[A7], [A7 + 0x1A]
000029B6 A922 syscall BeginUpdate
000029B8 206F 001A movea.l A0, [A7 + 0x1A]
000029BC 4868 0010 pea.l [A0 + 0x10]
000029C0 2F2D 82D8 move.l -[A7], [A5 - 0x7D28]
000029C4 AA0E syscall FillCRect
000029C6 2F2F 001A move.l -[A7], [A7 + 0x1A]
000029CA 206F 001E movea.l A0, [A7 + 0x1E]
000029CE 2F28 0018 move.l -[A7], [A0 + 0x18]
000029D2 A978 syscall UpdtDialog
000029D4 2F2F 001A move.l -[A7], [A7 + 0x1A]
000029D8 A923 syscall EndUpdate
000029DA 4EBA E794 jsr [PC - 0x186C /* 00001170 */]
000029DE 4FEF 000A lea.l A7, [A7 + 0xA]
000029E2 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000029E6 4E75 rts
000029E8 262B 0002 move.l D3, [A3 + 0x2]
000029EC 0283 0000 00FF andi.l D3, 0xFF
000029F2 302B 000E move.w D0, [A3 + 0xE]
000029F6 0280 0000 0100 andi.l D0, 0x100
000029FC 6726 beq +0x28 /* 00002A24 */
000029FE 0C03 002E cmpi.b D3, 0x2E /* '.' */
00002A02 6720 beq +0x22 /* 00002A24 */
00002A04 3F2B 000E move.w -[A7], [A3 + 0xE]
00002A08 594F subq.w A7, 4
00002A0A 1003 move.b D0, D3
00002A0C 4880 ext.w D0
00002A0E 3F00 move.w -[A7], D0
00002A10 A93E syscall MenuKey
00002A12 201F move.l D0, [A7]+
00002A14 2F00 move.l -[A7], D0
00002A16 4EAD E338 jsr [A5 - 0x1CC8]
00002A1A 4FEF 0010 lea.l A7, [A7 + 0x10]
00002A1E 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002A22 4E75 rts
label00002A24:
00002A24 1003 move.b D0, D3
00002A26 4880 ext.w D0
00002A28 48C0 ext.l D0
00002A2A 4EAD D916 jsr [A5 - 0x26EA]
00002A2E 002A 0000 0003 ori.b [A2 + 0x3], 0x0
00002A34 0000 002E ori.b D0, 0x2E /* '.' */
00002A38 0004 0000 ori.b D4, 0x0
00002A3C 0003 005E ori.b D3, 0x5E /* '^' */
00002A40 0000 0009 ori.b D0, 0x9 /* '\t' */
00002A44 0096 0000 000D ori.l [A6], 0xD /* '\r' */
00002A4A 0052 0000 ori.w [A2], 0x0
00002A4E 001B 006E ori.b [A3]+, 0x6E /* 'n' */
00002A52 0000 002E ori.b D0, 0x2E /* '.' */
00002A56 005C 200A ori.w [A4]+, 0x200A /* ' \n' */
00002A5A 6700 00D8 beq +0xDA /* 00002B34 */
00002A5E 4AAA 0004 tst.l [A2 + 0x4]
00002A62 6700 00D0 beq +0xD2 /* 00002B34 */
00002A66 4AAA 0014 tst.l [A2 + 0x14]
00002A6A 6716 beq +0x18 /* 00002A82 */
00002A6C 1F03 move.b -[A7], D3
00002A6E 2F0A move.l -[A7], A2
00002A70 2F2F 0020 move.l -[A7], [A7 + 0x20]
00002A74 4EBA 1246 jsr [PC + 0x1246 /* 00003CBC */]
00002A78 4FEF 0014 lea.l A7, [A7 + 0x14]
00002A7C 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002A80 4E75 rts
label00002A82:
00002A82 2F2A 0004 move.l -[A7], [A2 + 0x4]
00002A86 4EAD F908 jsr [A5 - 0x6F8]
00002A8A 4A80 tst.l D0
00002A8C 584F addq.w A7, 4
00002A8E 6600 00A4 bne +0xA6 /* 00002B34 */
00002A92 4FEF 000A lea.l A7, [A7 + 0xA]
00002A96 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002A9A 4E75 rts
00002A9C 3F3C 0001 move.w -[A7], 0x1
00002AA0 2F2F 001C move.l -[A7], [A7 + 0x1C]
00002AA4 4EBA 15E4 jsr [PC + 0x15E4 /* 0000408A */]
00002AA8 4FEF 0010 lea.l A7, [A7 + 0x10]
00002AAC 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002AB0 4E75 rts
00002AB2 302B 000E move.w D0, [A3 + 0xE]
00002AB6 0280 0000 0100 andi.l D0, 0x100
00002ABC 6776 beq +0x78 /* 00002B34 */
00002ABE 4AAD 833A tst.l [A5 - 0x7CC6]
00002AC2 6670 bne +0x72 /* 00002B34 */
00002AC4 3F3C 0002 move.w -[A7], 0x2
00002AC8 2F2F 001C move.l -[A7], [A7 + 0x1C]
00002ACC 4EBA 15BC jsr [PC + 0x15BC /* 0000408A */]
00002AD0 4FEF 0010 lea.l A7, [A7 + 0x10]
00002AD4 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002AD8 4E75 rts
00002ADA 200A move.l D0, A2
00002ADC 6756 beq +0x58 /* 00002B34 */
00002ADE 4227 clr.b -[A7]
00002AE0 2F0A move.l -[A7], A2
00002AE2 2F2F 0020 move.l -[A7], [A7 + 0x20]
00002AE6 4EBA 1146 jsr [PC + 0x1146 /* 00003C2E */]
00002AEA 4FEF 000A lea.l A7, [A7 + 0xA]
00002AEE 6044 bra +0x46 /* 00002B34 */
00002AF0 200A move.l D0, A2
00002AF2 6740 beq +0x42 /* 00002B34 */
00002AF4 2EAB 000A move.l [A7], [A3 + 0xA]
00002AF8 2F2F 001A move.l -[A7], [A7 + 0x1A]
00002AFC 4EBA E650 jsr [PC - 0x19B0 /* 0000114E */]
00002B00 486F 0004 pea.l [A7 + 0x4]
00002B04 A871 syscall GlobalToLocal
00002B06 4EBA E668 jsr [PC - 0x1998 /* 00001170 */]
00002B0A 2F2F 001E move.l -[A7], [A7 + 0x1E]
00002B0E 2F2F 0008 move.l -[A7], [A7 + 0x8]
00002B12 A984 syscall FindDialogItem/FindDItem
00002B14 301F move.w D0, [A7]+
00002B16 206F 001C movea.l A0, [A7 + 0x1C]
00002B1A B068 00A4 cmp.w D0, [A0 + 0xA4]
00002B1E 544F addq.w A7, 2
00002B20 6612 bne +0x14 /* 00002B34 */
00002B22 1F3C 0002 move.b -[A7], 0x2
00002B26 2F0A move.l -[A7], A2
00002B28 2F2F 0020 move.l -[A7], [A7 + 0x20]
00002B2C 4EBA 1100 jsr [PC + 0x1100 /* 00003C2E */]
00002B30 4FEF 000A lea.l A7, [A7 + 0xA]
label00002B34:
00002B34 4AAF 0004 tst.l [A7 + 0x4]
00002B38 671E beq +0x20 /* 00002B58 */
00002B3A 4878 0001 push.l 0x1
00002B3E 486F 000C pea.l [A7 + 0xC]
00002B42 486F 0022 pea.l [A7 + 0x22]
00002B46 2F0B move.l -[A7], A3
00002B48 4EBA FC00 jsr [PC - 0x400 /* 0000274A */]
00002B4C 7200 moveq.l D1, 0x00
00002B4E 1200 move.b D1, D0
00002B50 2601 move.l D3, D1
00002B52 4FEF 0010 lea.l A7, [A7 + 0x10]
00002B56 6016 bra +0x18 /* 00002B6E */
label00002B58:
00002B58 554F subq.w A7, 2
00002B5A 2F0B move.l -[A7], A3
00002B5C 486F 0020 pea.l [A7 + 0x20]
00002B60 486F 0012 pea.l [A7 + 0x12]
00002B64 A980 syscall DialogSelect
00002B66 101F move.b D0, [A7]+
00002B68 7200 moveq.l D1, 0x00
00002B6A 1200 move.b D1, D0
00002B6C 2601 move.l D3, D1
label00002B6E:
00002B6E 4A83 tst.l D3
00002B70 6700 00CE beq +0xD0 /* 00002C40 */
00002B74 302F 0008 move.w D0, [A7 + 0x8]
00002B78 48C0 ext.l D0
00002B7A 0C80 0000 000C cmpi.l D0, 0xC
00002B80 6200 00BE bhi +0xC0 /* 00002C40 */
00002B84 D040 add.w D0, D0
00002B86 303B 0006 move.w D0, [PC + D0.w + 0x6]
00002B8A 4EFB 0002 jmp [PC + D0.w + 0x2]
00002B8E 00B2 001A 001A 00B2 ori.l [A2 + D0.w - 0x78], 0x1A001A
00002B96 0046 0092 ori.w D6, 0x92
00002B9A 0092 0026 007A ori.l [A2], 0x26007A /* '&\0z' */
00002BA0 00B2 00B2 00B2 0086 ori.l [A2 + D0.w - 0x122], 0xB200B2
00002BA8 3F2F 0008 move.w -[A7], [A7 + 0x8]
00002BAC 4EBA 1C44 jsr [PC + 0x1C44 /* 000047F2 */]
00002BB0 6000 008E bra +0x90 /* 00002C40 */
00002BB4 1F3C 0001 move.b -[A7], 0x1
00002BB8 2F0A move.l -[A7], A2
00002BBA 2F2F 0020 move.l -[A7], [A7 + 0x20]
00002BBE 4EBA 106E jsr [PC + 0x106E /* 00003C2E */]
00002BC2 2F2B 000A move.l -[A7], [A3 + 0xA]
00002BC6 2F2F 0028 move.l -[A7], [A7 + 0x28]
00002BCA 4EBA 0B7A jsr [PC + 0xB7A /* 00003746 */]
00002BCE 4FEF 0012 lea.l A7, [A7 + 0x12]
00002BD2 606C bra +0x6E /* 00002C40 */
00002BD4 0C53 0003 cmpi.w [A3], 0x3
00002BD8 6706 beq +0x8 /* 00002BE0 */
00002BDA 0C53 0005 cmpi.w [A3], 0x5
00002BDE 6610 bne +0x12 /* 00002BF0 */
label00002BE0:
00002BE0 200A move.l D0, A2
00002BE2 670C beq +0xE /* 00002BF0 */
00002BE4 2F0A move.l -[A7], A2
00002BE6 2F2F 001E move.l -[A7], [A7 + 0x1E]
00002BEA 4EBA 0C4A jsr [PC + 0xC4A /* 00003836 */]
00002BEE 504F addq.w A7, 8
label00002BF0:
00002BF0 200A move.l D0, A2
00002BF2 674C beq +0x4E /* 00002C40 */
00002BF4 1F3C 0002 move.b -[A7], 0x2
00002BF8 2F0A move.l -[A7], A2
00002BFA 2F2F 0020 move.l -[A7], [A7 + 0x20]
00002BFE 4EBA 102E jsr [PC + 0x102E /* 00003C2E */]
00002C02 4FEF 000A lea.l A7, [A7 + 0xA]
00002C06 6038 bra +0x3A /* 00002C40 */
00002C08 2F2F 001A move.l -[A7], [A7 + 0x1A]
00002C0C 4EBA 0E14 jsr [PC + 0xE14 /* 00003A22 */]
00002C10 584F addq.w A7, 4
00002C12 602C bra +0x2E /* 00002C40 */
00002C14 2F2F 001A move.l -[A7], [A7 + 0x1A]
00002C18 4EBA 0D64 jsr [PC + 0xD64 /* 0000397E */]
00002C1C 584F addq.w A7, 4
00002C1E 6020 bra +0x22 /* 00002C40 */
00002C20 4AAD 8330 tst.l [A5 - 0x7CD0]
00002C24 671A beq +0x1C /* 00002C40 */
00002C26 2F2F 001A move.l -[A7], [A7 + 0x1A]
00002C2A 4EBA 11FC jsr [PC + 0x11FC /* 00003E28 */]
00002C2E 200A move.l D0, A2
00002C30 584F addq.w A7, 4
00002C32 670C beq +0xE /* 00002C40 */
00002C34 2F0A move.l -[A7], A2
00002C36 2F2F 001E move.l -[A7], [A7 + 0x1E]
00002C3A 4EBA 0EEC jsr [PC + 0xEEC /* 00003B28 */]
00002C3E 504F addq.w A7, 8
label00002C40:
00002C40 4FEF 000A lea.l A7, [A7 + 0xA]
00002C44 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00002C48 4E75 rts
00002C4A 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
00002C4E 286F 0020 movea.l A4, [A7 + 0x20]
00002C52 594F subq.w A7, 4
00002C54 2F0C move.l -[A7], A4
00002C56 A917 syscall GetWRefCon
00002C58 201F move.l D0, [A7]+
00002C5A 2440 movea.l A2, D0
00002C5C 7601 moveq.l D3, 0x01
00002C5E 97CB sub.l A3, A3
00002C60 42A7 clr.l -[A7]
00002C62 42A7 clr.l -[A7]
00002C64 2F0C move.l -[A7], A4
00002C66 4EBA 13CA jsr [PC + 0x13CA /* 00004032 */]
00002C6A 2A00 move.l D5, D0
00002C6C 4A85 tst.l D5
00002C6E 4FEF 000C lea.l A7, [A7 + 0xC]
00002C72 660C bne +0xE /* 00002C80 */
00002C74 200A move.l D0, A2
00002C76 6708 beq +0xA /* 00002C80 */
00002C78 4AAA 0014 tst.l [A2 + 0x14]
00002C7C 6600 009C bne +0x9E /* 00002D1A */
label00002C80:
00002C80 4AAD AF7A tst.l [A5 - 0x5086]
00002C84 6706 beq +0x8 /* 00002C8C */
00002C86 266D AF7A movea.l A3, [A5 - 0x5086]
00002C8A 6004 bra +0x6 /* 00002C90 */
label00002C8C:
00002C8C 266C 00A0 movea.l A3, [A4 + 0xA0]
label00002C90:
00002C90 200B move.l D0, A3
00002C92 6770 beq +0x72 /* 00002D04 */
00002C94 2C53 movea.l A6, [A3]
00002C96 302E 0020 move.w D0, [A6 + 0x20]
00002C9A B06E 0022 cmp.w D0, [A6 + 0x22]
00002C9E 56C0 sne D0
00002CA0 4400 neg.b D0
00002CA2 4880 ext.w D0
00002CA4 48C0 ext.l D0
00002CA6 2800 move.l D4, D0
00002CA8 302F 0024 move.w D0, [A7 + 0x24]
00002CAC 48C0 ext.l D0
00002CAE 5780 subq.l D0, 3
00002CB0 670E beq +0x10 /* 00002CC0 */
00002CB2 5380 subq.l D0, 1
00002CB4 6722 beq +0x24 /* 00002CD8 */
00002CB6 5380 subq.l D0, 1
00002CB8 6738 beq +0x3A /* 00002CF2 */
00002CBA 5380 subq.l D0, 1
00002CBC 6742 beq +0x44 /* 00002D00 */
00002CBE 6044 bra +0x46 /* 00002D04 */
label00002CC0:
00002CC0 4A84 tst.l D4
00002CC2 6740 beq +0x42 /* 00002D04 */
00002CC4 594F subq.w A7, 4
00002CC6 A9FC syscall ZeroScrap
00002CC8 201F move.l D0, [A7]+
00002CCA 2F0B move.l -[A7], A3
00002CCC A9D6 syscall TECut
00002CCE 554F subq.w A7, 2
00002CD0 4EAD DA42 jsr [A5 - 0x25BE]
00002CD4 301F move.w D0, [A7]+
00002CD6 602C bra +0x2E /* 00002D04 */
label00002CD8:
00002CD8 4A84 tst.l D4
00002CDA 6728 beq +0x2A /* 00002D04 */
00002CDC 594F subq.w A7, 4
00002CDE A9FC syscall ZeroScrap
00002CE0 201F move.l D0, [A7]+
00002CE2 2F0B move.l -[A7], A3
00002CE4 A9D5 syscall TECopy
00002CE6 554F subq.w A7, 2
00002CE8 4EAD DA42 jsr [A5 - 0x25BE]
00002CEC 301F move.w D0, [A7]+
00002CEE 7600 moveq.l D3, 0x00
00002CF0 6012 bra +0x14 /* 00002D04 */
label00002CF2:
00002CF2 554F subq.w A7, 2
00002CF4 4EAD DA3C jsr [A5 - 0x25C4]
00002CF8 301F move.w D0, [A7]+
00002CFA 2F0B move.l -[A7], A3
00002CFC A9DB syscall TEPaste
00002CFE 6004 bra +0x6 /* 00002D04 */
label00002D00:
00002D00 2F0B move.l -[A7], A3
00002D02 A9D7 syscall TEDelete
label00002D04:
00002D04 4A83 tst.l D3
00002D06 6712 beq +0x14 /* 00002D1A */
00002D08 200A move.l D0, A2
00002D0A 670E beq +0x10 /* 00002D1A */
00002D0C 4A85 tst.l D5
00002D0E 660A bne +0xC /* 00002D1A */
00002D10 2F0A move.l -[A7], A2
00002D12 2F0C move.l -[A7], A4
00002D14 4EBA 0B20 jsr [PC + 0xB20 /* 00003836 */]
00002D18 504F addq.w A7, 8
label00002D1A:
00002D1A 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00002D1E 4E75 rts
fn00002D20:
00002D20 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00002D24 266F 0014 movea.l A3, [A7 + 0x14]
00002D28 286B 00A0 movea.l A4, [A3 + 0xA0]
00002D2C 45ED 82E0 lea.l A2, [A5 - 0x7D20]
00002D30 7600 moveq.l D3, 0x00
00002D32 6024 bra +0x26 /* 00002D58 */
label00002D34:
00002D34 B7EA 0008 cmpa.l A3, [A2 + 0x8]
00002D38 6618 bne +0x1A /* 00002D52 */
00002D3A 4AAA 0004 tst.l [A2 + 0x4]
00002D3E 671E beq +0x20 /* 00002D5E */
00002D40 2F0B move.l -[A7], A3
00002D42 2F2F 001C move.l -[A7], [A7 + 0x1C]
00002D46 206A 0004 movea.l A0, [A2 + 0x4]
00002D4A 4E90 jsr [A0]
00002D4C 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002D50 4E75 rts
label00002D52:
00002D52 5283 addq.l D3, 1
00002D54 7010 moveq.l D0, 0x10
00002D56 D5C0 add.l A2, D0
label00002D58:
00002D58 B6AD B456 cmp.l D3, [A5 - 0x4BAA]
00002D5C 6FD6 ble -0x28 /* 00002D34 */
label00002D5E:
00002D5E 4AAD 833A tst.l [A5 - 0x7CC6]
00002D62 662A bne +0x2C /* 00002D8E */
00002D64 302B 00A4 move.w D0, [A3 + 0xA4]
00002D68 48C0 ext.l D0
00002D6A 4A80 tst.l D0
00002D6C 6D20 blt +0x22 /* 00002D8E */
00002D6E 200C move.l D0, A4
00002D70 671C beq +0x1E /* 00002D8E */
00002D72 554F subq.w A7, 2
00002D74 2F2F 001A move.l -[A7], [A7 + 0x1A]
00002D78 2054 movea.l A0, [A4]
00002D7A 4868 0008 pea.l [A0 + 0x8]
00002D7E A8AD syscall PtInRect
00002D80 101F move.b D0, [A7]+
00002D82 670A beq +0xC /* 00002D8E */
00002D84 3F3C 0001 move.w -[A7], 0x1
00002D88 4EBA E66A jsr [PC - 0x1996 /* 000013F4 */]
00002D8C 6006 bra +0x8 /* 00002D94 */
label00002D8E:
00002D8E 4267 clr.w -[A7]
00002D90 4EBA E662 jsr [PC - 0x199E /* 000013F4 */]
label00002D94:
00002D94 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00002D98 4E75 rts
fn00002D9A:
00002D9A 2F0A move.l -[A7], A2
00002D9C 4FEF FFE8 lea.l A7, [A7 - 0x18]
00002DA0 4857 pea.l [A7]
00002DA2 3F2F 0028 move.w -[A7], [A7 + 0x28]
00002DA6 2F2F 0026 move.l -[A7], [A7 + 0x26]
00002DAA 4EBA E92C jsr [PC - 0x16D4 /* 000016D8 */]
00002DAE A8D8 syscall NewRgn
00002DB0 205F movea.l A0, [A7]+
00002DB2 2448 movea.l A2, A0
00002DB4 2008 move.l D0, A0
00002DB6 5C4F addq.w A7, 6
00002DB8 673E beq +0x40 /* 00002DF8 */
00002DBA 2F6F 0026 0008 move.l [A7 + 0x8], [A7 + 0x26]
00002DC0 302F 002C move.w D0, [A7 + 0x2C]
00002DC4 48C0 ext.l D0
00002DC6 2F40 0010 move.l [A7 + 0x10], D0
00002DCA 3F6F 002A 0014 move.w [A7 + 0x14], [A7 + 0x2A]
00002DD0 41D7 lea.l A0, [A7]
00002DD2 2F48 000C move.l [A7 + 0xC], A0
00002DD6 3F6F 002E 0016 move.w [A7 + 0x16], [A7 + 0x2E]
00002DDC 2F0A move.l -[A7], A2
00002DDE 486F 0004 pea.l [A7 + 0x4]
00002DE2 A8DF syscall RectRgn
00002DE4 2F0A move.l -[A7], A2
00002DE6 486D DF48 pea.l [A5 - 0x20B8]
00002DEA 486F 0010 pea.l [A7 + 0x10]
00002DEE 42A7 clr.l -[A7]
00002DF0 4EBA EBA2 jsr [PC - 0x145E /* 00001994 */]
00002DF4 2F0A move.l -[A7], A2
00002DF6 A8D9 syscall DisposRgn/DisposeRgn
label00002DF8:
00002DF8 4FEF 0018 lea.l A7, [A7 + 0x18]
00002DFC 245F movea.l A2, [A7]+
00002DFE 4E75 rts
fn00002E00:
00002E00 48E7 1C38 movem.l -[A7], D3,D4,D5,A2,A3,A4
00002E04 4FEF FFF0 lea.l A7, [A7 - 0x10]
00002E08 266F 002C movea.l A3, [A7 + 0x2C]
00002E0C 286F 0030 movea.l A4, [A7 + 0x30]
00002E10 3A2F 0034 move.w D5, [A7 + 0x34]
00002E14 362F 0038 move.w D3, [A7 + 0x38]
00002E18 95CA sub.l A2, A2
00002E1A 200C move.l D0, A4
00002E1C 660C bne +0xE /* 00002E2A */
00002E1E 3005 move.w D0, D5
00002E20 4FEF 0010 lea.l A7, [A7 + 0x10]
00002E24 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00002E28 4E75 rts
label00002E2A:
00002E2A 4857 pea.l [A7]
00002E2C 3F2F 003A move.w -[A7], [A7 + 0x3A]
00002E30 2F0B move.l -[A7], A3
00002E32 4EBA E8A4 jsr [PC - 0x175C /* 000016D8 */]
00002E36 4A43 tst.w D3
00002E38 4FEF 000A lea.l A7, [A7 + 0xA]
00002E3C 6710 beq +0x12 /* 00002E4E */
00002E3E 486F 0008 pea.l [A7 + 0x8]
00002E42 3F03 move.w -[A7], D3
00002E44 2F0B move.l -[A7], A3
00002E46 4EBA E890 jsr [PC - 0x1770 /* 000016D8 */]
00002E4A 4FEF 000A lea.l A7, [A7 + 0xA]
label00002E4E:
00002E4E 2F0B move.l -[A7], A3
00002E50 4EBA E2FC jsr [PC - 0x1D04 /* 0000114E */]
00002E54 4A43 tst.w D3
00002E56 584F addq.w A7, 4
00002E58 672E beq +0x30 /* 00002E88 */
00002E5A 594F subq.w A7, 4
00002E5C A8D8 syscall NewRgn
00002E5E 205F movea.l A0, [A7]+
00002E60 2448 movea.l A2, A0
00002E62 200A move.l D0, A2
00002E64 671C beq +0x1E /* 00002E82 */
00002E66 2F0A move.l -[A7], A2
00002E68 486F 000C pea.l [A7 + 0xC]
00002E6C A8DF syscall RectRgn
00002E6E 4EBA E404 jsr [PC - 0x1BFC /* 00001274 */]
00002E72 4878 001E push.l 0x1E
00002E76 A863 syscall BackColor
00002E78 2F0B move.l -[A7], A3
00002E7A 2F0A move.l -[A7], A2
00002E7C A978 syscall UpdtDialog
00002E7E 4EBA E476 jsr [PC - 0x1B8A /* 000012F6 */]
label00002E82:
00002E82 486F 0008 pea.l [A7 + 0x8]
00002E86 A8A4 syscall InvertRect
label00002E88:
00002E88 4857 pea.l [A7]
00002E8A 3F05 move.w -[A7], D5
00002E8C 2F0C move.l -[A7], A4
00002E8E 4EAD F6E0 jsr [A5 - 0x920]
00002E92 3800 move.w D4, D0
00002E94 4FEF 000A lea.l A7, [A7 + 0xA]
00002E98 6716 beq +0x18 /* 00002EB0 */
00002E9A 1F3C 0001 move.b -[A7], 0x1
00002E9E 3F3C 0005 move.w -[A7], 0x5
00002EA2 486F 0004 pea.l [A7 + 0x4]
00002EA6 2F0B move.l -[A7], A3
00002EA8 4EBA 002E jsr [PC + 0x2E /* 00002ED8 */]
00002EAC 4FEF 000C lea.l A7, [A7 + 0xC]
label00002EB0:
00002EB0 4A43 tst.w D3
00002EB2 6714 beq +0x16 /* 00002EC8 */
00002EB4 200A move.l D0, A2
00002EB6 670A beq +0xC /* 00002EC2 */
00002EB8 2F0A move.l -[A7], A2
00002EBA A927 syscall InvalRgn
00002EBC 2F0A move.l -[A7], A2
00002EBE A8D9 syscall DisposRgn/DisposeRgn
00002EC0 6006 bra +0x8 /* 00002EC8 */
label00002EC2:
00002EC2 486F 0008 pea.l [A7 + 0x8]
00002EC6 A8A4 syscall InvertRect
label00002EC8:
00002EC8 4EBA E2A6 jsr [PC - 0x1D5A /* 00001170 */]
00002ECC 3004 move.w D0, D4
00002ECE 4FEF 0010 lea.l A7, [A7 + 0x10]
00002ED2 4CDF 1C38 movem.l D3,D4,D5,A2,A3,A4, [A7]+
00002ED6 4E75 rts
fn00002ED8:
00002ED8 2F0A move.l -[A7], A2
00002EDA 514F subq.w A7, 8
00002EDC 246F 0014 movea.l A2, [A7 + 0x14]
00002EE0 200A move.l D0, A2
00002EE2 6616 bne +0x18 /* 00002EFA */
00002EE4 4857 pea.l [A7]
00002EE6 3F2F 001C move.w -[A7], [A7 + 0x1C]
00002EEA 2F2F 0016 move.l -[A7], [A7 + 0x16]
00002EEE 4EBA E7E8 jsr [PC - 0x1818 /* 000016D8 */]
00002EF2 45EF 000A lea.l A2, [A7 + 0xA]
00002EF6 4FEF 000A lea.l A7, [A7 + 0xA]
label00002EFA:
00002EFA 2F2F 0010 move.l -[A7], [A7 + 0x10]
00002EFE 4EBA E24E jsr [PC - 0x1DB2 /* 0000114E */]
00002F02 4267 clr.w -[A7]
00002F04 1F2F 0020 move.b -[A7], [A7 + 0x20]
00002F08 2F0A move.l -[A7], A2
00002F0A 4EAD F6D8 jsr [A5 - 0x928]
00002F0E 4EBA E260 jsr [PC - 0x1DA0 /* 00001170 */]
00002F12 4FEF 0014 lea.l A7, [A7 + 0x14]
00002F16 245F movea.l A2, [A7]+
00002F18 4E75 rts
fn00002F1A:
00002F1A 2F0A move.l -[A7], A2
00002F1C 4FEF FFF2 lea.l A7, [A7 - 0xE]
00002F20 246F 0016 movea.l A2, [A7 + 0x16]
00002F24 2F0A move.l -[A7], A2
00002F26 4EBA E226 jsr [PC - 0x1DDA /* 0000114E */]
00002F2A 486F 000A pea.l [A7 + 0xA]
00002F2E 3F2F 0022 move.w -[A7], [A7 + 0x22]
00002F32 2F0A move.l -[A7], A2
00002F34 4EBA E7A2 jsr [PC - 0x185E /* 000016D8 */]
00002F38 4EBA E33A jsr [PC - 0x1CC6 /* 00001274 */]
00002F3C 2F3C 0002 0002 move.l -[A7], 0x20002
00002F42 A89B syscall PenSize
00002F44 4A2A 006F tst.b [A2 + 0x6F]
00002F48 4FEF 000E lea.l A7, [A7 + 0xE]
00002F4C 6706 beq +0x8 /* 00002F54 */
00002F4E 4A6F 001C tst.w [A7 + 0x1C]
00002F52 661C bne +0x1E /* 00002F70 */
label00002F54:
00002F54 486D 15F0 pea.l [A5 + 0x15F0]
00002F58 A89D syscall PenPat
00002F5A 4EBA 1312 jsr [PC + 0x1312 /* 0000426E */]
00002F5E 4A80 tst.l D0
00002F60 670E beq +0x10 /* 00002F70 */
00002F62 2EAD B460 move.l [A7], [A5 - 0x4BA0]
00002F66 3F6D B464 0004 move.w [A7 + 0x4], [A5 - 0x4B9C]
00002F6C 4857 pea.l [A7]
00002F6E AA15 syscall RGBBackColor
label00002F70:
00002F70 486F 0006 pea.l [A7 + 0x6]
00002F74 A8A1 syscall FrameRect
00002F76 4EBA E37E jsr [PC - 0x1C82 /* 000012F6 */]
00002F7A 4EBA E1F4 jsr [PC - 0x1E0C /* 00001170 */]
00002F7E 4FEF 000E lea.l A7, [A7 + 0xE]
00002F82 245F movea.l A2, [A7]+
00002F84 4E75 rts
00002F86 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00002F8A 4FEF FFE8 lea.l A7, [A7 - 0x18]
00002F8E 266F 0030 movea.l A3, [A7 + 0x30]
00002F92 246F 0034 movea.l A2, [A7 + 0x34]
00002F96 7000 moveq.l D0, 0x00
00002F98 102D 81A0 move.b D0, [A5 - 0x7E60]
00002F9C 7202 moveq.l D1, 0x02
00002F9E B081 cmp.l D0, D1
00002FA0 6D58 blt +0x5A /* 00002FFA */
00002FA2 3E92 move.w [A7], [A2]
00002FA4 3F6A 0002 0002 move.w [A7 + 0x2], [A2 + 0x2]
00002FAA 3012 move.w D0, [A2]
00002FAC 48C0 ext.l D0
00002FAE 5280 addq.l D0, 1
00002FB0 3F40 0004 move.w [A7 + 0x4], D0
00002FB4 302A 0002 move.w D0, [A2 + 0x2]
00002FB8 48C0 ext.l D0
00002FBA 5280 addq.l D0, 1
00002FBC 3F40 0006 move.w [A7 + 0x6], D0
00002FC0 594F subq.w A7, 4
00002FC2 486F 0004 pea.l [A7 + 0x4]
00002FC6 AA27 syscall GetMaxDevice
00002FC8 205F movea.l A0, [A7]+
00002FCA 2448 movea.l A2, A0
00002FCC 200A move.l D0, A2
00002FCE 6608 bne +0xA /* 00002FD8 */
00002FD0 594F subq.w A7, 4
00002FD2 AA2A syscall GetMainDevice
00002FD4 205F movea.l A0, [A7]+
00002FD6 2448 movea.l A2, A0
label00002FD8:
00002FD8 2052 movea.l A0, [A2]
00002FDA 2F68 0022 0010 move.l [A7 + 0x10], [A0 + 0x22]
00002FE0 2F68 0026 0014 move.l [A7 + 0x14], [A0 + 0x26]
00002FE6 594F subq.w A7, 4
00002FE8 AA2A syscall GetMainDevice
00002FEA 205F movea.l A0, [A7]+
00002FEC B5C8 cmpa.l A2, A0
00002FEE 661E bne +0x20 /* 0000300E */
00002FF0 4EAD E0B0 jsr [A5 - 0x1F50]
00002FF4 D16F 0010 add.w [A7 + 0x10], D0
00002FF8 6014 bra +0x16 /* 0000300E */
label00002FFA:
00002FFA 2F6D 1584 0010 move.l [A7 + 0x10], [A5 + 0x1584]
00003000 2F6D 1588 0014 move.l [A7 + 0x14], [A5 + 0x1588]
00003006 4EAD E0B0 jsr [A5 - 0x1F50]
0000300A D16F 0010 add.w [A7 + 0x10], D0
label0000300E:
0000300E 2F6B 0010 0008 move.l [A7 + 0x8], [A3 + 0x10]
00003014 2F6B 0014 000C move.l [A7 + 0xC], [A3 + 0x14]
0000301A 3F3C FFFF move.w -[A7], 0xFFFF
0000301E 2F0B move.l -[A7], A3
00003020 486F 000E pea.l [A7 + 0xE]
00003024 4EBA DD20 jsr [PC - 0x22E0 /* 00000D46 */]
00003028 302F 0012 move.w D0, [A7 + 0x12]
0000302C 48C0 ext.l D0
0000302E 382F 0016 move.w D4, [A7 + 0x16]
00003032 48C4 ext.l D4
00003034 9880 sub.l D4, D0
00003036 302F 0014 move.w D0, [A7 + 0x14]
0000303A 48C0 ext.l D0
0000303C 3A2F 0018 move.w D5, [A7 + 0x18]
00003040 48C5 ext.l D5
00003042 9A80 sub.l D5, D0
00003044 302F 001A move.w D0, [A7 + 0x1A]
00003048 48C0 ext.l D0
0000304A 362F 001E move.w D3, [A7 + 0x1E]
0000304E 48C3 ext.l D3
00003050 9680 sub.l D3, D0
00003052 3004 move.w D0, D4
00003054 48C0 ext.l D0
00003056 9680 sub.l D3, D0
00003058 302F 001C move.w D0, [A7 + 0x1C]
0000305C 48C0 ext.l D0
0000305E 382F 0020 move.w D4, [A7 + 0x20]
00003062 48C4 ext.l D4
00003064 9880 sub.l D4, D0
00003066 3005 move.w D0, D5
00003068 48C0 ext.l D0
0000306A 9880 sub.l D4, D0
0000306C 48C3 ext.l D3
0000306E 87FC 0002 divs.w D3, 0x2
00003072 3003 move.w D0, D3
00003074 48C0 ext.l D0
00003076 322F 0042 move.w D1, [A7 + 0x42]
0000307A 48C1 ext.l D1
0000307C 4EAD D910 jsr [A5 - 0x26F0]
00003080 9640 sub.w D3, D0
00003082 48C4 ext.l D4
00003084 89FC 0002 divs.w D4, 0x2
00003088 3003 move.w D0, D3
0000308A 48C0 ext.l D0
0000308C 4A80 tst.l D0
0000308E 4FEF 000A lea.l A7, [A7 + 0xA]
00003092 6C02 bge +0x4 /* 00003096 */
00003094 7600 moveq.l D3, 0x00
label00003096:
00003096 3004 move.w D0, D4
00003098 48C0 ext.l D0
0000309A 4A80 tst.l D0
0000309C 6C02 bge +0x4 /* 000030A0 */
0000309E 7800 moveq.l D4, 0x00
label000030A0:
000030A0 4A44 tst.w D4
000030A2 6610 bne +0x12 /* 000030B4 */
000030A4 4A43 tst.w D3
000030A6 660C bne +0xE /* 000030B4 */
000030A8 7000 moveq.l D0, 0x00
000030AA 4FEF 0018 lea.l A7, [A7 + 0x18]
000030AE 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000030B2 4E75 rts
label000030B4:
000030B4 206F 003A movea.l A0, [A7 + 0x3A]
000030B8 3084 move.w [A0], D4
000030BA 206F 003E movea.l A0, [A7 + 0x3E]
000030BE 3083 move.w [A0], D3
000030C0 7001 moveq.l D0, 0x01
000030C2 4FEF 0018 lea.l A7, [A7 + 0x18]
000030C6 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000030CA 4E75 rts
000030CC 3F2F 0004 move.w -[A7], [A7 + 0x4]
000030D0 2F2F 0008 move.l -[A7], [A7 + 0x8]
000030D4 4EBA 000A jsr [PC + 0xA /* 000030E0 */]
000030D8 5C4F addq.w A7, 6
000030DA 205F movea.l A0, [A7]+
000030DC 5C4F addq.w A7, 6
000030DE 4ED0 jmp [A0]
fn000030E0:
000030E0 594F subq.w A7, 4
000030E2 594F subq.w A7, 4
000030E4 2F2F 000C move.l -[A7], [A7 + 0xC]
000030E8 A917 syscall GetWRefCon
000030EA 201F move.l D0, [A7]+
000030EC 2E80 move.l [A7], D0
000030EE 2040 movea.l A0, D0
000030F0 3F28 0016 move.w -[A7], [A0 + 0x16]
000030F4 3F2F 000E move.w -[A7], [A7 + 0xE]
000030F8 2F2F 000C move.l -[A7], [A7 + 0xC]
000030FC 4EBA FE1C jsr [PC - 0x1E4 /* 00002F1A */]
00003100 4FEF 000C lea.l A7, [A7 + 0xC]
00003104 4E75 rts
00003106 2F2F 0006 move.l -[A7], [A7 + 0x6]
0000310A 3F2F 0008 move.w -[A7], [A7 + 0x8]
0000310E 4EBA EFFE jsr [PC - 0x1002 /* 0000210E */]
00003112 205F movea.l A0, [A7]+
00003114 5C4F addq.w A7, 6
00003116 4ED0 jmp [A0]
00003118 48E7 1038 movem.l -[A7], D3,A2,A3,A4
0000311C 4FEF FFF4 lea.l A7, [A7 - 0xC]
00003120 286F 0024 movea.l A4, [A7 + 0x24]
00003124 246F 0020 movea.l A2, [A7 + 0x20]
00003128 3F3C 0001 move.w -[A7], 0x1
0000312C 2F12 move.l -[A7], [A2]
0000312E 4EBA E54E jsr [PC - 0x1AB2 /* 0000167E */]
00003132 2648 movea.l A3, A0
00003134 4EBA E13E jsr [PC - 0x1EC2 /* 00001274 */]
00003138 2F3C 0003 0003 move.l -[A7], 0x30003
0000313E A89B syscall PenSize
00003140 2052 movea.l A0, [A2]
00003142 4A28 006F tst.b [A0 + 0x6F]
00003146 5C4F addq.w A7, 6
00003148 6708 beq +0xA /* 00003152 */
0000314A 2053 movea.l A0, [A3]
0000314C 4A28 0011 tst.b [A0 + 0x11]
00003150 677A beq +0x7C /* 000031CC */
label00003152:
00003152 302F 002A move.w D0, [A7 + 0x2A]
00003156 48C0 ext.l D0
00003158 7202 moveq.l D1, 0x02
0000315A B081 cmp.l D0, D1
0000315C 5EC0 sgt D0
0000315E 4400 neg.b D0
00003160 4880 ext.w D0
00003162 48C0 ext.l D0
00003164 2600 move.l D3, D0
00003166 675A beq +0x5C /* 000031C2 */
00003168 486F 0006 pea.l [A7 + 0x6]
0000316C AA19 syscall GetForeColor
0000316E 4857 pea.l [A7]
00003170 AA1A syscall GetBackColor
00003172 3F3C ABCA move.w -[A7], 0xABCA
00003176 4EBA E3F4 jsr [PC - 0x1C0C /* 0000156C */]
0000317A 4A40 tst.w D0
0000317C 544F addq.w A7, 2
0000317E 6724 beq +0x26 /* 000031A4 */
00003180 554F subq.w A7, 2
00003182 2F0C move.l -[A7], A4
00003184 486F 0006 pea.l [A7 + 0x6]
00003188 486F 0010 pea.l [A7 + 0x10]
0000318C 303C 0C19 move.w D0, 0xC19
00003190 AAA2 syscall PaletteDispatch
00003192 101F move.b D0, [A7]+
00003194 7200 moveq.l D1, 0x00
00003196 1200 move.b D1, D0
00003198 2601 move.l D3, D1
0000319A 6726 beq +0x28 /* 000031C2 */
0000319C 486F 0006 pea.l [A7 + 0x6]
000031A0 AA14 syscall RGBForeColor
000031A2 601E bra +0x20 /* 000031C2 */
label000031A4:
000031A4 486F 0006 pea.l [A7 + 0x6]
000031A8 486F 0004 pea.l [A7 + 0x4]
000031AC 2F0C move.l -[A7], A4
000031AE 4EBA E8D8 jsr [PC - 0x1728 /* 00001A88 */]
000031B2 48C0 ext.l D0
000031B4 2600 move.l D3, D0
000031B6 4FEF 000C lea.l A7, [A7 + 0xC]
000031BA 6706 beq +0x8 /* 000031C2 */
000031BC 486F 0006 pea.l [A7 + 0x6]
000031C0 AA14 syscall RGBForeColor
label000031C2:
000031C2 4A83 tst.l D3
000031C4 6606 bne +0x8 /* 000031CC */
000031C6 486D 15E0 pea.l [A5 + 0x15E0]
000031CA A89D syscall PenPat
label000031CC:
000031CC 2F2A 0004 move.l -[A7], [A2 + 0x4]
000031D0 2F3C 0010 0010 move.l -[A7], 0x100010
000031D6 A8B0 syscall FrameRoundRect
000031D8 4EBA E11C jsr [PC - 0x1EE4 /* 000012F6 */]
000031DC 4FEF 000C lea.l A7, [A7 + 0xC]
000031E0 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000031E4 205F movea.l A0, [A7]+
000031E6 4FEF 000C lea.l A7, [A7 + 0xC]
000031EA 4ED0 jmp [A0]
fn000031EC:
000031EC 48E7 183A movem.l -[A7], D3,D4,A2,A3,A4,A6
000031F0 4FEF FE00 lea.l A7, [A7 - 0x200]
000031F4 266F 021C movea.l A3, [A7 + 0x21C]
000031F8 2C6F 0220 movea.l A6, [A7 + 0x220]
000031FC 286F 0224 movea.l A4, [A7 + 0x224]
00003200 41ED 81D8 lea.l A0, [A5 - 0x7E28]
00003204 43D7 lea.l A1, [A7]
00003206 703F moveq.l D0, 0x3F
label00003208:
00003208 22D8 move.l [A1]+, [A0]+
0000320A 51C8 FFFC dbf D0, -0x6 /* 00003208 */
0000320E 594F subq.w A7, 4
00003210 2F0E move.l -[A7], A6
00003212 4EAD D9AC jsr [A5 - 0x2654]
00003216 201F move.l D0, [A7]+
00003218 7214 moveq.l D1, 0x14
0000321A 4EAD D8FE jsr [A5 - 0x2702]
0000321E 2800 move.l D4, D0
00003220 2456 movea.l A2, [A6]
00003222 7600 moveq.l D3, 0x00
00003224 6014 bra +0x16 /* 0000323A */
label00003226:
00003226 102A 0012 move.b D0, [A2 + 0x12]
0000322A 4880 ext.w D0
0000322C 41D7 lea.l A0, [A7]
0000322E 11BC 0001 0000 move.b [A0 + D0.w], 0x1
00003234 5283 addq.l D3, 1
00003236 7014 moveq.l D0, 0x14
00003238 D5C0 add.l A2, D0
label0000323A:
0000323A B684 cmp.l D3, D4
0000323C 6DE8 blt -0x16 /* 00003226 */
0000323E 554F subq.w A7, 2
00003240 2F0B move.l -[A7], A3
00003242 A950 syscall CountMItems
00003244 301F move.w D0, [A7]+
00003246 48C0 ext.l D0
00003248 2800 move.l D4, D0
0000324A 7603 moveq.l D3, 0x03
0000324C 6032 bra +0x34 /* 00003280 */
label0000324E:
0000324E 2F0B move.l -[A7], A3
00003250 3F03 move.w -[A7], D3
00003252 486F 0106 pea.l [A7 + 0x106]
00003256 A946 syscall GetMenuItemText/GetItem
00003258 0C2F 0001 0100 cmpi.b [A7 + 0x100], 0x1
0000325E 661E bne +0x20 /* 0000327E */
00003260 7000 moveq.l D0, 0x00
00003262 102F 0101 move.b D0, [A7 + 0x101]
00003266 41D7 lea.l A0, [A7]
00003268 4A30 0000 tst.b [A0 + D0.w]
0000326C 6706 beq +0x8 /* 00003274 */
0000326E 2F0B move.l -[A7], A3
00003270 3F03 move.w -[A7], D3
00003272 A93A syscall DisableItem
label00003274:
00003274 200C move.l D0, A4
00003276 6706 beq +0x8 /* 0000327E */
00003278 19AF 0101 3800 move.b [A4 + D3], [A7 + 0x101]
label0000327E:
0000327E 5283 addq.l D3, 1
label00003280:
00003280 B684 cmp.l D3, D4
00003282 6FCA ble -0x34 /* 0000324E */
00003284 4FEF 0200 lea.l A7, [A7 + 0x200]
00003288 4CDF 5C18 movem.l D3,D4,A2,A3,A4,A6, [A7]+
0000328C 4E75 rts
fn0000328E:
0000328E 48E7 1830 movem.l -[A7], D3,D4,A2,A3
00003292 514F subq.w A7, 8
00003294 246F 001C movea.l A2, [A7 + 0x1C]
00003298 266F 0024 movea.l A3, [A7 + 0x24]
0000329C 302A 0012 move.w D0, [A2 + 0x12]
000032A0 48C0 ext.l D0
000032A2 362A 0016 move.w D3, [A2 + 0x16]
000032A6 48C3 ext.l D3
000032A8 9680 sub.l D3, D0
000032AA 302A 0010 move.w D0, [A2 + 0x10]
000032AE 48C0 ext.l D0
000032B0 382A 0014 move.w D4, [A2 + 0x14]
000032B4 48C4 ext.l D4
000032B6 9880 sub.l D4, D0
000032B8 200B move.l D0, A3
000032BA 6734 beq +0x36 /* 000032F0 */
000032BC 0C6B 8001 0002 cmpi.w [A3 + 0x2], 0x8001
000032C2 672C beq +0x2E /* 000032F0 */
000032C4 0C53 8001 cmpi.w [A3], 0x8001
000032C8 6726 beq +0x28 /* 000032F0 */
000032CA 4267 clr.w -[A7]
000032CC 3F04 move.w -[A7], D4
000032CE 3F03 move.w -[A7], D3
000032D0 2F13 move.l -[A7], [A3]
000032D2 2F0A move.l -[A7], A2
000032D4 4EBA DC9E jsr [PC - 0x2362 /* 00000F74 */]
000032D8 4A40 tst.w D0
000032DA 4FEF 000E lea.l A7, [A7 + 0xE]
000032DE 6710 beq +0x12 /* 000032F0 */
000032E0 2F0A move.l -[A7], A2
000032E2 3F2B 0002 move.w -[A7], [A3 + 0x2]
000032E6 3F13 move.w -[A7], [A3]
000032E8 1F3C 0001 move.b -[A7], 0x1
000032EC A91B syscall MoveWindow
000032EE 6012 bra +0x14 /* 00003302 */
label000032F0:
000032F0 4AAD B45A tst.l [A5 - 0x4BA6]
000032F4 660C bne +0xE /* 00003302 */
000032F6 3F2F 0028 move.w -[A7], [A7 + 0x28]
000032FA 2F0A move.l -[A7], A2
000032FC 4EBA 0A10 jsr [PC + 0xA10 /* 00003D0E */]
00003300 5C4F addq.w A7, 6
label00003302:
00003302 3F3C 0001 move.w -[A7], 0x1
00003306 2F0A move.l -[A7], A2
00003308 4EBA E374 jsr [PC - 0x1C8C /* 0000167E */]
0000330C 2648 movea.l A3, A0
0000330E 2008 move.l D0, A0
00003310 5C4F addq.w A7, 6
00003312 6734 beq +0x36 /* 00003348 */
00003314 2053 movea.l A0, [A3]
00003316 2EA8 0008 move.l [A7], [A0 + 0x8]
0000331A 2F68 000C 0004 move.l [A7 + 0x4], [A0 + 0xC]
00003320 4857 pea.l [A7]
00003322 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
00003328 A8A9 syscall InsetRect
0000332A 4857 pea.l [A7]
0000332C 3F3C 0003 move.w -[A7], 0x3
00003330 2F0A move.l -[A7], A2
00003332 4EBA E3C0 jsr [PC - 0x1C40 /* 000016F4 */]
00003336 486D DF18 pea.l [A5 - 0x20E8]
0000333A 3F3C 0003 move.w -[A7], 0x3
0000333E 2F0A move.l -[A7], A2
00003340 4EBA E360 jsr [PC - 0x1CA0 /* 000016A2 */]
00003344 4FEF 0014 lea.l A7, [A7 + 0x14]
label00003348:
00003348 4AAF 0020 tst.l [A7 + 0x20]
0000334C 6738 beq +0x3A /* 00003386 */
0000334E 4857 pea.l [A7]
00003350 3F3C 0007 move.w -[A7], 0x7
00003354 2F0A move.l -[A7], A2
00003356 4EBA E380 jsr [PC - 0x1C80 /* 000016D8 */]
0000335A 486F 000A pea.l [A7 + 0xA]
0000335E 2F3C FFFD FFFD move.l -[A7], 0xFFFDFFFD
00003364 A8A9 syscall InsetRect
00003366 486F 000A pea.l [A7 + 0xA]
0000336A 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
0000336E 2F0A move.l -[A7], A2
00003370 4EBA E382 jsr [PC - 0x1C7E /* 000016F4 */]
00003374 486D DF10 pea.l [A5 - 0x20F0]
00003378 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
0000337C 2F0A move.l -[A7], A2
0000337E 4EBA E322 jsr [PC - 0x1CDE /* 000016A2 */]
00003382 4FEF 001E lea.l A7, [A7 + 0x1E]
label00003386:
00003386 2F0A move.l -[A7], A2
00003388 206D 133E movea.l A0, [A5 + 0x133E]
0000338C 4E90 jsr [A0]
0000338E 356D B418 006C move.w [A2 + 0x6C], [A5 - 0x4BE8]
00003394 504F addq.w A7, 8
00003396 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000339A 4E75 rts
fn0000339C:
0000339C 48E7 0030 movem.l -[A7], A2,A3
000033A0 514F subq.w A7, 8
000033A2 246F 0014 movea.l A2, [A7 + 0x14]
000033A6 2F0A move.l -[A7], A2
000033A8 4EBA DDA4 jsr [PC - 0x225C /* 0000114E */]
000033AC 486F 0004 pea.l [A7 + 0x4]
000033B0 3F3C 0007 move.w -[A7], 0x7
000033B4 2F0A move.l -[A7], A2
000033B6 4EBA E320 jsr [PC - 0x1CE0 /* 000016D8 */]
000033BA 4267 clr.w -[A7]
000033BC 42A7 clr.l -[A7]
000033BE 486D DF30 pea.l [A5 - 0x20D0]
000033C2 486F 0018 pea.l [A7 + 0x18]
000033C6 2F0A move.l -[A7], A2
000033C8 4EAD F8B0 jsr [A5 - 0x750]
000033CC 2648 movea.l A3, A0
000033CE 4EBA DDA0 jsr [PC - 0x2260 /* 00001170 */]
000033D2 200B move.l D0, A3
000033D4 4FEF 0020 lea.l A7, [A7 + 0x20]
000033D8 6714 beq +0x16 /* 000033EE */
000033DA 486D DF28 pea.l [A5 - 0x20D8]
000033DE 3F3C 0007 move.w -[A7], 0x7
000033E2 2F0A move.l -[A7], A2
000033E4 4EBA E2BC jsr [PC - 0x1D44 /* 000016A2 */]
000033E8 4FEF 000A lea.l A7, [A7 + 0xA]
000033EC 600C bra +0xE /* 000033FA */
label000033EE:
000033EE 2F3C 0002 FF94 move.l -[A7], 0x2FF94
000033F4 4EBA EDD4 jsr [PC - 0x122C /* 000021CA */]
000033F8 584F addq.w A7, 4
label000033FA:
000033FA 204B movea.l A0, A3
000033FC 504F addq.w A7, 8
000033FE 4CDF 0C00 movem.l A2,A3, [A7]+
00003402 4E75 rts
00003404 2F0A move.l -[A7], A2
00003406 594F subq.w A7, 4
00003408 2F2F 000E move.l -[A7], [A7 + 0xE]
0000340C A917 syscall GetWRefCon
0000340E 201F move.l D0, [A7]+
00003410 2440 movea.l A2, D0
00003412 200A move.l D0, A2
00003414 670A beq +0xC /* 00003420 */
00003416 2F2A 0004 move.l -[A7], [A2 + 0x4]
0000341A 4EAD F8E8 jsr [A5 - 0x718]
0000341E 584F addq.w A7, 4
label00003420:
00003420 245F movea.l A2, [A7]+
00003422 205F movea.l A0, [A7]+
00003424 5C4F addq.w A7, 6
00003426 4ED0 jmp [A0]
fn00003428:
00003428 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
0000342C 4FEF FFEC lea.l A7, [A7 - 0x14]
00003430 2C6F 0034 movea.l A6, [A7 + 0x34]
00003434 266F 0038 movea.l A3, [A7 + 0x38]
00003438 286F 003C movea.l A4, [A7 + 0x3C]
0000343C 594F subq.w A7, 4
0000343E 2F0C move.l -[A7], A4
00003440 4EAD D9AC jsr [A5 - 0x2654]
00003444 201F move.l D0, [A7]+
00003446 7214 moveq.l D1, 0x14
00003448 4EAD D8FE jsr [A5 - 0x2702]
0000344C 2600 move.l D3, D0
0000344E 7800 moveq.l D4, 0x00
00003450 4A83 tst.l D3
00003452 6700 0086 beq +0x88 /* 000034DA */
00003456 42A7 clr.l -[A7]
00003458 2F03 move.l -[A7], D3
0000345A 2F2B 0004 move.l -[A7], [A3 + 0x4]
0000345E 4EAD F8C8 jsr [A5 - 0x738]
00003462 204C movea.l A0, A4
00003464 A029 syscall HLock
00003466 2454 movea.l A2, [A4]
00003468 7A00 moveq.l D5, 0x00
0000346A 4FEF 000C lea.l A7, [A7 + 0xC]
0000346E 6044 bra +0x46 /* 000034B4 */
label00003470:
00003470 41D2 lea.l A0, [A2]
00003472 43D7 lea.l A1, [A7]
00003474 7004 moveq.l D0, 0x04
label00003476:
00003476 22D8 move.l [A1]+, [A0]+
00003478 51C8 FFFC dbf D0, -0x6 /* 00003476 */
0000347C 2F12 move.l -[A7], [A2]
0000347E 4EBA E316 jsr [PC - 0x1CEA /* 00001796 */]
00003482 2F48 0004 move.l [A7 + 0x4], A0
00003486 2008 move.l D0, A0
00003488 584F addq.w A7, 4
0000348A 660C bne +0xE /* 00003498 */
0000348C 554F subq.w A7, 2
0000348E 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00003492 301F move.w D0, [A7]+
00003494 3800 move.w D4, D0
00003496 6020 bra +0x22 /* 000034B8 */
label00003498:
00003498 4878 0014 push.l 0x14
0000349C 486F 0004 pea.l [A7 + 0x4]
000034A0 2F05 move.l -[A7], D5
000034A2 2F2B 0004 move.l -[A7], [A3 + 0x4]
000034A6 4EAD F8D8 jsr [A5 - 0x728]
000034AA 5285 addq.l D5, 1
000034AC 7014 moveq.l D0, 0x14
000034AE D5C0 add.l A2, D0
000034B0 4FEF 0010 lea.l A7, [A7 + 0x10]
label000034B4:
000034B4 BA83 cmp.l D5, D3
000034B6 6DB8 blt -0x46 /* 00003470 */
label000034B8:
000034B8 204C movea.l A0, A4
000034BA A02A syscall HUnlock
000034BC 4A44 tst.w D4
000034BE 6622 bne +0x24 /* 000034E2 */
000034C0 42A7 clr.l -[A7]
000034C2 2F2B 0004 move.l -[A7], [A3 + 0x4]
000034C6 4EAD F900 jsr [A5 - 0x700]
000034CA 42A7 clr.l -[A7]
000034CC 2F0B move.l -[A7], A3
000034CE 2F0E move.l -[A7], A6
000034D0 4EBA 0186 jsr [PC + 0x186 /* 00003658 */]
000034D4 4FEF 0014 lea.l A7, [A7 + 0x14]
000034D8 6008 bra +0xA /* 000034E2 */
label000034DA:
000034DA 2F0E move.l -[A7], A6
000034DC 4EBA 04E0 jsr [PC + 0x4E0 /* 000039BE */]
000034E0 584F addq.w A7, 4
label000034E2:
000034E2 3004 move.w D0, D4
000034E4 4FEF 0014 lea.l A7, [A7 + 0x14]
000034E8 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
000034EC 4E75 rts
000034EE 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
000034F2 4FEF FEFA lea.l A7, [A7 - 0x106]
000034F6 266F 0126 movea.l A3, [A7 + 0x126]
000034FA 246F 012A movea.l A2, [A7 + 0x12A]
000034FE 7801 moveq.l D4, 0x01
00003500 2F0B move.l -[A7], A3
00003502 A8A3 syscall EraseRect
00003504 4A92 tst.l [A2]
00003506 6700 00F4 beq +0xF6 /* 000035FC */
0000350A 2052 movea.l A0, [A2]
0000350C A029 syscall HLock
0000350E 2052 movea.l A0, [A2]
00003510 2F10 move.l -[A7], [A0]
00003512 486F 000A pea.l [A7 + 0xA]
00003516 4EBA E0EC jsr [PC - 0x1F14 /* 00001604 */]
0000351A 2052 movea.l A0, [A2]
0000351C A02A syscall HUnlock
0000351E 4EBA DCBE jsr [PC - 0x2342 /* 000011DE */]
00003522 302B 0002 move.w D0, [A3 + 0x2]
00003526 48C0 ext.l D0
00003528 362B 0006 move.w D3, [A3 + 0x6]
0000352C 48C3 ext.l D3
0000352E 9680 sub.l D3, D0
00003530 4A2A 0012 tst.b [A2 + 0x12]
00003534 504F addq.w A7, 8
00003536 674A beq +0x4C /* 00003582 */
00003538 554F subq.w A7, 2
0000353A 3F3C 004D move.w -[A7], 0x4D /* 'M' */
0000353E A88D syscall CharWidth
00003540 301F move.w D0, [A7]+
00003542 48C0 ext.l D0
00003544 2E80 move.l [A7], D0
00003546 554F subq.w A7, 2
00003548 3F3C 0011 move.w -[A7], 0x11
0000354C A88D syscall CharWidth
0000354E 301F move.w D0, [A7]+
00003550 48C0 ext.l D0
00003552 D097 add.l D0, [A7]
00003554 3A00 move.w D5, D0
00003556 9640 sub.w D3, D0
00003558 554F subq.w A7, 2
0000355A 3F3C 004D move.w -[A7], 0x4D /* 'M' */
0000355E A88D syscall CharWidth
00003560 301F move.w D0, [A7]+
00003562 9640 sub.w D3, D0
00003564 601C bra +0x1E /* 00003582 */
label00003566:
00003566 4A84 tst.l D4
00003568 670A beq +0xC /* 00003574 */
0000356A 7800 moveq.l D4, 0x00
0000356C 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00003570 A888 syscall TextFace
00003572 600E bra +0x10 /* 00003582 */
label00003574:
00003574 3F03 move.w -[A7], D3
00003576 486F 0008 pea.l [A7 + 0x8]
0000357A 4267 clr.w -[A7]
0000357C 4EBA E38C jsr [PC - 0x1C74 /* 0000190A */]
00003580 6014 bra +0x16 /* 00003596 */
label00003582:
00003582 4A2F 0006 tst.b [A7 + 0x6]
00003586 670E beq +0x10 /* 00003596 */
00003588 554F subq.w A7, 2
0000358A 486F 0008 pea.l [A7 + 0x8]
0000358E A88C syscall StringWidth
00003590 301F move.w D0, [A7]+
00003592 B043 cmp.w D0, D3
00003594 6ED0 bgt -0x2E /* 00003566 */
label00003596:
00003596 486F 0004 pea.l [A7 + 0x4]
0000359A 4EBA DE26 jsr [PC - 0x21DA /* 000013C2 */]
0000359E 302B 0002 move.w D0, [A3 + 0x2]
000035A2 48C0 ext.l D0
000035A4 5480 addq.l D0, 2
000035A6 3F00 move.w -[A7], D0
000035A8 302F 000A move.w D0, [A7 + 0xA]
000035AC 48C0 ext.l D0
000035AE 3213 move.w D1, [A3]
000035B0 48C1 ext.l D1
000035B2 D280 add.l D1, D0
000035B4 3F01 move.w -[A7], D1
000035B6 A893 syscall MoveTo
000035B8 486F 000A pea.l [A7 + 0xA]
000035BC A884 syscall DrawString
000035BE 4A2A 0012 tst.b [A2 + 0x12]
000035C2 584F addq.w A7, 4
000035C4 6732 beq +0x34 /* 000035F8 */
000035C6 4267 clr.w -[A7]
000035C8 A888 syscall TextFace
000035CA 3005 move.w D0, D5
000035CC 48C0 ext.l D0
000035CE 322B 0006 move.w D1, [A3 + 0x6]
000035D2 48C1 ext.l D1
000035D4 9280 sub.l D1, D0
000035D6 3F01 move.w -[A7], D1
000035D8 302F 0006 move.w D0, [A7 + 0x6]
000035DC 48C0 ext.l D0
000035DE 3213 move.w D1, [A3]
000035E0 48C1 ext.l D1
000035E2 D280 add.l D1, D0
000035E4 3F01 move.w -[A7], D1
000035E6 A893 syscall MoveTo
000035E8 3F3C 0011 move.w -[A7], 0x11
000035EC A883 syscall DrawChar
000035EE 102A 0012 move.b D0, [A2 + 0x12]
000035F2 4880 ext.w D0
000035F4 3F00 move.w -[A7], D0
000035F6 A883 syscall DrawChar
label000035F8:
000035F8 4EBA DC34 jsr [PC - 0x23CC /* 0000122E */]
label000035FC:
000035FC 4FEF 0106 lea.l A7, [A7 + 0x106]
00003600 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00003604 4E75 rts
fn00003606:
00003606 48E7 1820 movem.l -[A7], D3,D4,A2
0000360A 4FEF FFE8 lea.l A7, [A7 - 0x18]
0000360E 246F 0028 movea.l A2, [A7 + 0x28]
00003612 2F0A move.l -[A7], A2
00003614 4EAD F908 jsr [A5 - 0x6F8]
00003618 2800 move.l D4, D0
0000361A 7600 moveq.l D3, 0x00
0000361C 584F addq.w A7, 4
0000361E 6024 bra +0x26 /* 00003644 */
label00003620:
00003620 7014 moveq.l D0, 0x14
00003622 2E80 move.l [A7], D0
00003624 4857 pea.l [A7]
00003626 486F 0008 pea.l [A7 + 0x8]
0000362A 2F03 move.l -[A7], D3
0000362C 2F0A move.l -[A7], A2
0000362E 4EAD F8E0 jsr [A5 - 0x720]
00003632 4AAF 0014 tst.l [A7 + 0x14]
00003636 4FEF 0010 lea.l A7, [A7 + 0x10]
0000363A 6706 beq +0x8 /* 00003642 */
0000363C 206F 0004 movea.l A0, [A7 + 0x4]
00003640 A023 syscall DisposHandle/DisposeHandle
label00003642:
00003642 5283 addq.l D3, 1
label00003644:
00003644 B684 cmp.l D3, D4
00003646 6DD8 blt -0x26 /* 00003620 */
00003648 2F0A move.l -[A7], A2
0000364A 4EAD F8B8 jsr [A5 - 0x748]
0000364E 4FEF 001C lea.l A7, [A7 + 0x1C]
00003652 4CDF 0418 movem.l D3,D4,A2, [A7]+
00003656 4E75 rts
fn00003658:
00003658 48E7 1830 movem.l -[A7], D3,D4,A2,A3
0000365C 4FEF FEE8 lea.l A7, [A7 - 0x118]
00003660 266F 012C movea.l A3, [A7 + 0x12C]
00003664 246F 0130 movea.l A2, [A7 + 0x130]
00003668 7600 moveq.l D3, 0x00
0000366A 7014 moveq.l D0, 0x14
0000366C 2F40 0100 move.l [A7 + 0x100], D0
00003670 4AAF 0134 tst.l [A7 + 0x134]
00003674 6718 beq +0x1A /* 0000368E */
00003676 4A6D 8334 tst.w [A5 - 0x7CCC]
0000367A 6712 beq +0x14 /* 0000368E */
0000367C 0C6D 0001 8334 cmpi.w [A5 - 0x7CCC], 0x1
00003682 670A beq +0xC /* 0000368E */
00003684 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
00003688 3F2D 8334 move.w -[A7], [A5 - 0x7CCC]
0000368C A93A syscall DisableItem
label0000368E:
0000368E 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003692 4EAD F8F8 jsr [A5 - 0x708]
00003696 2800 move.l D4, D0
00003698 4A84 tst.l D4
0000369A 584F addq.w A7, 4
0000369C 4E71 nop
0000369E 486F 0100 pea.l [A7 + 0x100]
000036A2 486F 0108 pea.l [A7 + 0x108]
000036A6 2F04 move.l -[A7], D4
000036A8 2F2A 0004 move.l -[A7], [A2 + 0x4]
000036AC 4EAD F8E0 jsr [A5 - 0x720]
000036B0 4AAF 0114 tst.l [A7 + 0x114]
000036B4 4FEF 0010 lea.l A7, [A7 + 0x10]
000036B8 673A beq +0x3C /* 000036F4 */
000036BA 206F 0104 movea.l A0, [A7 + 0x104]
000036BE A029 syscall HLock
000036C0 206F 0104 movea.l A0, [A7 + 0x104]
000036C4 2F10 move.l -[A7], [A0]
000036C6 486F 0004 pea.l [A7 + 0x4]
000036CA 4EBA DF38 jsr [PC - 0x20C8 /* 00001604 */]
000036CE 206F 010C movea.l A0, [A7 + 0x10C]
000036D2 A02A syscall HUnlock
000036D4 3F3C 0004 move.w -[A7], 0x4
000036D8 2F0B move.l -[A7], A3
000036DA 4EBA DFA2 jsr [PC - 0x205E /* 0000167E */]
000036DE 5C4F addq.w A7, 6
000036E0 2F08 move.l -[A7], A0
000036E2 486F 000C pea.l [A7 + 0xC]
000036E6 A98F syscall SetDialogItemText/SetIText
000036E8 2F0A move.l -[A7], A2
000036EA 2F0B move.l -[A7], A3
000036EC 4EBA 0600 jsr [PC + 0x600 /* 00003CEE */]
000036F0 4FEF 0010 lea.l A7, [A7 + 0x10]
label000036F4:
000036F4 4A2F 0116 tst.b [A7 + 0x116]
000036F8 660A bne +0xC /* 00003704 */
000036FA 7001 moveq.l D0, 0x01
000036FC 2600 move.l D3, D0
000036FE 3B40 8334 move.w [A5 - 0x7CCC], D0
00003702 6020 bra +0x22 /* 00003724 */
label00003704:
00003704 1F2F 0116 move.b -[A7], [A7 + 0x116]
00003708 2F2A 0010 move.l -[A7], [A2 + 0x10]
0000370C 4EBA 00EE jsr [PC + 0xEE /* 000037FC */]
00003710 3800 move.w D4, D0
00003712 5C4F addq.w A7, 6
00003714 670E beq +0x10 /* 00003724 */
00003716 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
0000371A 3F04 move.w -[A7], D4
0000371C A939 syscall EnableItem
0000371E 3B44 8334 move.w [A5 - 0x7CCC], D4
00003722 7601 moveq.l D3, 0x01
label00003724:
00003724 4A83 tst.l D3
00003726 6714 beq +0x16 /* 0000373C */
00003728 1F3C 0001 move.b -[A7], 0x1
0000372C 3F3C 0005 move.w -[A7], 0x5
00003730 42A7 clr.l -[A7]
00003732 2F0B move.l -[A7], A3
00003734 4EBA F7A2 jsr [PC - 0x85E /* 00002ED8 */]
00003738 4FEF 000C lea.l A7, [A7 + 0xC]
label0000373C:
0000373C 4FEF 0118 lea.l A7, [A7 + 0x118]
00003740 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00003744 4E75 rts
fn00003746:
00003746 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
0000374A 266F 0018 movea.l A3, [A7 + 0x18]
0000374E 594F subq.w A7, 4
00003750 2F0B move.l -[A7], A3
00003752 A917 syscall GetWRefCon
00003754 201F move.l D0, [A7]+
00003756 2440 movea.l A2, D0
00003758 2F0B move.l -[A7], A3
0000375A 4EBA D9F2 jsr [PC - 0x260E /* 0000114E */]
0000375E 486F 0020 pea.l [A7 + 0x20]
00003762 A871 syscall GlobalToLocal
00003764 4EBA DA0A jsr [PC - 0x25F6 /* 00001170 */]
00003768 2F2A 0004 move.l -[A7], [A2 + 0x4]
0000376C 4EAD F8F8 jsr [A5 - 0x708]
00003770 2800 move.l D4, D0
00003772 2F2F 0024 move.l -[A7], [A7 + 0x24]
00003776 2F2A 0004 move.l -[A7], [A2 + 0x4]
0000377A 4EAD F918 jsr [A5 - 0x6E8]
0000377E 2B40 B452 move.l [A5 - 0x4BAE], D0
00003782 B880 cmp.l D4, D0
00003784 57C0 seq D0
00003786 4400 neg.b D0
00003788 4880 ext.w D0
0000378A 48C0 ext.l D0
0000378C 2600 move.l D3, D0
0000378E 302D 135E move.w D0, [A5 + 0x135E]
00003792 48C0 ext.l D0
00003794 0680 0000 0081 addi.l D0, 0x81
0000379A 3F00 move.w -[A7], D0
0000379C 4EBA DC56 jsr [PC - 0x23AA /* 000013F4 */]
000037A0 486D DF38 pea.l [A5 - 0x20C8]
000037A4 2F2F 0030 move.l -[A7], [A7 + 0x30]
000037A8 2F2A 0004 move.l -[A7], [A2 + 0x4]
000037AC 4EAD F910 jsr [A5 - 0x6F0]
000037B0 2F2A 0004 move.l -[A7], [A2 + 0x4]
000037B4 4EAD F8F8 jsr [A5 - 0x708]
000037B8 2A00 move.l D5, D0
000037BA 4A85 tst.l D5
000037BC 4FEF 0020 lea.l A7, [A7 + 0x20]
000037C0 6C20 bge +0x22 /* 000037E2 */
000037C2 2F04 move.l -[A7], D4
000037C4 2F2A 0004 move.l -[A7], [A2 + 0x4]
000037C8 4EAD F900 jsr [A5 - 0x700]
000037CC 4878 0001 push.l 0x1
000037D0 2F0A move.l -[A7], A2
000037D2 2F0B move.l -[A7], A3
000037D4 4EBA FE82 jsr [PC - 0x17E /* 00003658 */]
000037D8 4FEF 0014 lea.l A7, [A7 + 0x14]
000037DC 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000037E0 4E75 rts
label000037E2:
000037E2 4A83 tst.l D3
000037E4 6610 bne +0x12 /* 000037F6 */
000037E6 4878 0001 push.l 0x1
000037EA 2F0A move.l -[A7], A2
000037EC 2F0B move.l -[A7], A3
000037EE 4EBA FE68 jsr [PC - 0x198 /* 00003658 */]
000037F2 4FEF 000C lea.l A7, [A7 + 0xC]
label000037F6:
000037F6 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000037FA 4E75 rts
fn000037FC:
000037FC 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00003800 266F 0018 movea.l A3, [A7 + 0x18]
00003804 1A2F 001C move.b D5, [A7 + 0x1C]
00003808 594F subq.w A7, 4
0000380A 2F0B move.l -[A7], A3
0000380C 4EAD D9AC jsr [A5 - 0x2654]
00003810 201F move.l D0, [A7]+
00003812 2800 move.l D4, D0
00003814 2453 movea.l A2, [A3]
00003816 7603 moveq.l D3, 0x03
00003818 6010 bra +0x12 /* 0000382A */
label0000381A:
0000381A BA32 3800 cmp.b D5, [A2 + D3]
0000381E 6608 bne +0xA /* 00003828 */
00003820 3003 move.w D0, D3
00003822 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00003826 4E75 rts
label00003828:
00003828 5283 addq.l D3, 1
label0000382A:
0000382A B684 cmp.l D3, D4
0000382C 6FEC ble -0x12 /* 0000381A */
0000382E 7000 moveq.l D0, 0x00
00003830 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00003834 4E75 rts
fn00003836:
00003836 48E7 1C20 movem.l -[A7], D3,D4,D5,A2
0000383A 4FEF FEE8 lea.l A7, [A7 - 0x118]
0000383E 246F 0130 movea.l A2, [A7 + 0x130]
00003842 7014 moveq.l D0, 0x14
00003844 2E80 move.l [A7], D0
00003846 2F2A 0004 move.l -[A7], [A2 + 0x4]
0000384A 4EAD F8F8 jsr [A5 - 0x708]
0000384E 2A00 move.l D5, D0
00003850 4A85 tst.l D5
00003852 584F addq.w A7, 4
00003854 6D00 00E2 blt +0xE4 /* 00003938 */
00003858 4857 pea.l [A7]
0000385A 486F 0108 pea.l [A7 + 0x108]
0000385E 2F05 move.l -[A7], D5
00003860 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003864 4EAD F8E0 jsr [A5 - 0x720]
00003868 4AAF 0114 tst.l [A7 + 0x114]
0000386C 4FEF 0010 lea.l A7, [A7 + 0x10]
00003870 6700 00C6 beq +0xC8 /* 00003938 */
00003874 3F3C 0004 move.w -[A7], 0x4
00003878 2F2F 012E move.l -[A7], [A7 + 0x12E]
0000387C 4EBA DE00 jsr [PC - 0x2200 /* 0000167E */]
00003880 5C4F addq.w A7, 6
00003882 2F08 move.l -[A7], A0
00003884 486F 0008 pea.l [A7 + 0x8]
00003888 A990 syscall GetDialogItemText/GetIText
0000388A 4A2F 0004 tst.b [A7 + 0x4]
0000388E 660C bne +0xE /* 0000389C */
00003890 1F7C 0001 0004 move.b [A7 + 0x4], 0x1
00003896 1F7C 0020 0005 move.b [A7 + 0x5], 0x20 /* ' ' */
label0000389C:
0000389C 486F 0004 pea.l [A7 + 0x4]
000038A0 4EBA 0E0A jsr [PC + 0xE0A /* 000046AC */]
000038A4 486F 0008 pea.l [A7 + 0x8]
000038A8 4EAD DA72 jsr [A5 - 0x258E]
000038AC 206F 010C movea.l A0, [A7 + 0x10C]
000038B0 A029 syscall HLock
000038B2 486F 000C pea.l [A7 + 0xC]
000038B6 206F 0110 movea.l A0, [A7 + 0x110]
000038BA 2F10 move.l -[A7], [A0]
000038BC 4EAD E458 jsr [A5 - 0x1BA8]
000038C0 4A80 tst.l D0
000038C2 4FEF 0010 lea.l A7, [A7 + 0x10]
000038C6 676A beq +0x6C /* 00003932 */
000038C8 41EF 0004 lea.l A0, [A7 + 0x4]
000038CC 70FF moveq.l D0, 0xFFFFFFFF
label000038CE:
000038CE 5280 addq.l D0, 1
000038D0 4A18 tst.b [A0]+
000038D2 66FA bne -0x4 /* 000038CE */
000038D4 5280 addq.l D0, 1
000038D6 2600 move.l D3, D0
000038D8 206F 0104 movea.l A0, [A7 + 0x104]
000038DC A02A syscall HUnlock
000038DE 206F 0104 movea.l A0, [A7 + 0x104]
000038E2 2003 move.l D0, D3
000038E4 A024 syscall SetHandleSize
000038E6 554F subq.w A7, 2
000038E8 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000038EC 301F move.w D0, [A7]+
000038EE 3800 move.w D4, D0
000038F0 671C beq +0x1E /* 0000390E */
000038F2 3F04 move.w -[A7], D4
000038F4 3F3C 0002 move.w -[A7], 0x2
000038F8 4EBA E8D0 jsr [PC - 0x1730 /* 000021CA */]
000038FC 3F3C 0002 move.w -[A7], 0x2
00003900 4EBA 0EF0 jsr [PC + 0xEF0 /* 000047F2 */]
00003904 4FEF 011C lea.l A7, [A7 + 0x11C]
00003908 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
0000390C 4E75 rts
label0000390E:
0000390E 41EF 0004 lea.l A0, [A7 + 0x4]
00003912 226F 0104 movea.l A1, [A7 + 0x104]
00003916 2251 movea.l A1, [A1]
00003918 2003 move.l D0, D3
0000391A A02E syscall BlockMove/BlockMoveData
0000391C 2F17 move.l -[A7], [A7]
0000391E 486F 0108 pea.l [A7 + 0x108]
00003922 2F05 move.l -[A7], D5
00003924 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003928 4EAD F8D8 jsr [A5 - 0x728]
0000392C 4FEF 0010 lea.l A7, [A7 + 0x10]
00003930 6006 bra +0x8 /* 00003938 */
label00003932:
00003932 206F 0104 movea.l A0, [A7 + 0x104]
00003936 A02A syscall HUnlock
label00003938:
00003938 4FEF 0118 lea.l A7, [A7 + 0x118]
0000393C 4CDF 0438 movem.l D3,D4,D5,A2, [A7]+
00003940 4E75 rts
fn00003942:
00003942 2F0A move.l -[A7], A2
00003944 594F subq.w A7, 4
00003946 246F 0010 movea.l A2, [A7 + 0x10]
0000394A 7014 moveq.l D0, 0x14
0000394C 2E80 move.l [A7], D0
0000394E 206F 000C movea.l A0, [A7 + 0xC]
00003952 2F28 0004 move.l -[A7], [A0 + 0x4]
00003956 4EAD F8F8 jsr [A5 - 0x708]
0000395A 2480 move.l [A2], D0
0000395C 4A92 tst.l [A2]
0000395E 584F addq.w A7, 4
00003960 4E71 nop
00003962 4857 pea.l [A7]
00003964 2F2F 0018 move.l -[A7], [A7 + 0x18]
00003968 2F12 move.l -[A7], [A2]
0000396A 206F 0018 movea.l A0, [A7 + 0x18]
0000396E 2F28 0004 move.l -[A7], [A0 + 0x4]
00003972 4EAD F8E0 jsr [A5 - 0x720]
00003976 4FEF 0014 lea.l A7, [A7 + 0x14]
0000397A 245F movea.l A2, [A7]+
0000397C 4E75 rts
fn0000397E:
0000397E 2F0A move.l -[A7], A2
00003980 4FEF FFE8 lea.l A7, [A7 - 0x18]
00003984 594F subq.w A7, 4
00003986 2F2F 0024 move.l -[A7], [A7 + 0x24]
0000398A A917 syscall GetWRefCon
0000398C 201F move.l D0, [A7]+
0000398E 2440 movea.l A2, D0
00003990 486F 0004 pea.l [A7 + 0x4]
00003994 486F 0004 pea.l [A7 + 0x4]
00003998 2F0A move.l -[A7], A2
0000399A 4EBA FFA6 jsr [PC - 0x5A /* 00003942 */]
0000399E 42A7 clr.l -[A7]
000039A0 3F2F 0022 move.w -[A7], [A7 + 0x22]
000039A4 3F2F 0022 move.w -[A7], [A7 + 0x22]
000039A8 4878 FFFF push.l 0xFFFF
000039AC 2F2F 0020 move.l -[A7], [A7 + 0x20]
000039B0 2F12 move.l -[A7], [A2]
000039B2 4EAD E9E0 jsr [A5 - 0x1620]
000039B6 4FEF 0038 lea.l A7, [A7 + 0x38]
000039BA 245F movea.l A2, [A7]+
000039BC 4E75 rts
fn000039BE:
000039BE 48E7 0030 movem.l -[A7], A2,A3
000039C2 266F 000C movea.l A3, [A7 + 0xC]
000039C6 594F subq.w A7, 4
000039C8 2F0B move.l -[A7], A3
000039CA A917 syscall GetWRefCon
000039CC 201F move.l D0, [A7]+
000039CE 2440 movea.l A2, D0
000039D0 3F3C 0004 move.w -[A7], 0x4
000039D4 2F0B move.l -[A7], A3
000039D6 4EBA DCA6 jsr [PC - 0x235A /* 0000167E */]
000039DA 5C4F addq.w A7, 6
000039DC 2F08 move.l -[A7], A0
000039DE 486D B45F pea.l [A5 - 0x4BA1]
000039E2 A98F syscall SetDialogItemText/SetIText
000039E4 2F2B 00A0 move.l -[A7], [A3 + 0xA0]
000039E8 A9D9 syscall TEDeactivate
000039EA 2F2A 0008 move.l -[A7], [A2 + 0x8]
000039EE 3F3C 00FF move.w -[A7], 0xFF
000039F2 A95D syscall HiliteControl
000039F4 4AAA 000C tst.l [A2 + 0xC]
000039F8 670A beq +0xC /* 00003A04 */
000039FA 2F2A 000C move.l -[A7], [A2 + 0xC]
000039FE 3F3C 00FF move.w -[A7], 0xFF
00003A02 A95D syscall HiliteControl
label00003A04:
00003A04 42AD 8330 clr.l [A5 - 0x7CD0]
00003A08 1F3C 0004 move.b -[A7], 0x4
00003A0C 3F3C 0005 move.w -[A7], 0x5
00003A10 42A7 clr.l -[A7]
00003A12 2F0B move.l -[A7], A3
00003A14 4EBA F4C2 jsr [PC - 0xB3E /* 00002ED8 */]
00003A18 4FEF 000C lea.l A7, [A7 + 0xC]
00003A1C 4CDF 0C00 movem.l A2,A3, [A7]+
00003A20 4E75 rts
fn00003A22:
00003A22 48E7 1030 movem.l -[A7], D3,A2,A3
00003A26 4FEF FFE8 lea.l A7, [A7 - 0x18]
00003A2A 266F 0028 movea.l A3, [A7 + 0x28]
00003A2E 594F subq.w A7, 4
00003A30 2F0B move.l -[A7], A3
00003A32 A917 syscall GetWRefCon
00003A34 201F move.l D0, [A7]+
00003A36 2440 movea.l A2, D0
00003A38 4857 pea.l [A7]
00003A3A 486F 0018 pea.l [A7 + 0x18]
00003A3E 2F0A move.l -[A7], A2
00003A40 4EBA FF00 jsr [PC - 0x100 /* 00003942 */]
00003A44 4AAF 000C tst.l [A7 + 0xC]
00003A48 4FEF 000C lea.l A7, [A7 + 0xC]
00003A4C 6704 beq +0x6 /* 00003A52 */
00003A4E 2057 movea.l A0, [A7]
00003A50 A023 syscall DisposHandle/DisposeHandle
label00003A52:
00003A52 2F2F 0014 move.l -[A7], [A7 + 0x14]
00003A56 4878 0001 push.l 0x1
00003A5A 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003A5E 4EAD F8D0 jsr [A5 - 0x730]
00003A62 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003A66 4EAD F908 jsr [A5 - 0x6F8]
00003A6A 2600 move.l D3, D0
00003A6C 4A83 tst.l D3
00003A6E 4FEF 0010 lea.l A7, [A7 + 0x10]
00003A72 660A bne +0xC /* 00003A7E */
00003A74 2F0B move.l -[A7], A3
00003A76 4EBA FF46 jsr [PC - 0xBA /* 000039BE */]
00003A7A 584F addq.w A7, 4
00003A7C 6028 bra +0x2A /* 00003AA6 */
label00003A7E:
00003A7E B6AF 0014 cmp.l D3, [A7 + 0x14]
00003A82 6E08 bgt +0xA /* 00003A8C */
00003A84 2003 move.l D0, D3
00003A86 5380 subq.l D0, 1
00003A88 2F40 0014 move.l [A7 + 0x14], D0
label00003A8C:
00003A8C 2F2F 0014 move.l -[A7], [A7 + 0x14]
00003A90 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003A94 4EAD F900 jsr [A5 - 0x700]
00003A98 42A7 clr.l -[A7]
00003A9A 2F0A move.l -[A7], A2
00003A9C 2F0B move.l -[A7], A3
00003A9E 4EBA FBB8 jsr [PC - 0x448 /* 00003658 */]
00003AA2 4FEF 0014 lea.l A7, [A7 + 0x14]
label00003AA6:
00003AA6 4FEF 0018 lea.l A7, [A7 + 0x18]
00003AAA 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00003AAE 4E75 rts
fn00003AB0:
00003AB0 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
00003AB4 594F subq.w A7, 4
00003AB6 286F 001C movea.l A4, [A7 + 0x1C]
00003ABA 2F0C move.l -[A7], A4
00003ABC 4EAD F908 jsr [A5 - 0x6F8]
00003AC0 2800 move.l D4, D0
00003AC2 2004 move.l D0, D4
00003AC4 7214 moveq.l D1, 0x14
00003AC6 4EAD D8F8 jsr [A5 - 0x2708]
00003ACA A122 syscall NewHandle, flags=1
00003ACC 2648 movea.l A3, A0
00003ACE 2008 move.l D0, A0
00003AD0 584F addq.w A7, 4
00003AD2 661C bne +0x1E /* 00003AF0 */
00003AD4 554F subq.w A7, 2
00003AD6 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00003ADA 301F move.w D0, [A7]+
00003ADC 3F00 move.w -[A7], D0
00003ADE 3F3C 0002 move.w -[A7], 0x2
00003AE2 4EBA E6E6 jsr [PC - 0x191A /* 000021CA */]
00003AE6 91C8 sub.l A0, A0
00003AE8 504F addq.w A7, 8
00003AEA 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00003AEE 4E75 rts
label00003AF0:
00003AF0 204B movea.l A0, A3
00003AF2 A029 syscall HLock
00003AF4 2453 movea.l A2, [A3]
00003AF6 7600 moveq.l D3, 0x00
00003AF8 601C bra +0x1E /* 00003B16 */
label00003AFA:
00003AFA 7014 moveq.l D0, 0x14
00003AFC 2E80 move.l [A7], D0
00003AFE 4857 pea.l [A7]
00003B00 204A movea.l A0, A2
00003B02 7014 moveq.l D0, 0x14
00003B04 D5C0 add.l A2, D0
00003B06 2F08 move.l -[A7], A0
00003B08 2F03 move.l -[A7], D3
00003B0A 2F0C move.l -[A7], A4
00003B0C 4EAD F8E0 jsr [A5 - 0x720]
00003B10 5283 addq.l D3, 1
00003B12 4FEF 0010 lea.l A7, [A7 + 0x10]
label00003B16:
00003B16 B684 cmp.l D3, D4
00003B18 6DE0 blt -0x1E /* 00003AFA */
00003B1A 204B movea.l A0, A3
00003B1C A02A syscall HUnlock
00003B1E 204B movea.l A0, A3
00003B20 584F addq.w A7, 4
00003B22 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
00003B26 4E75 rts
fn00003B28:
00003B28 48E7 1020 movem.l -[A7], D3,A2
00003B2C 4FEF FFE8 lea.l A7, [A7 - 0x18]
00003B30 246F 0028 movea.l A2, [A7 + 0x28]
00003B34 7014 moveq.l D0, 0x14
00003B36 2E80 move.l [A7], D0
00003B38 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003B3C 4EAD F8F8 jsr [A5 - 0x708]
00003B40 2600 move.l D3, D0
00003B42 4A83 tst.l D3
00003B44 584F addq.w A7, 4
00003B46 4E71 nop
00003B48 4857 pea.l [A7]
00003B4A 486F 0008 pea.l [A7 + 0x8]
00003B4E 2F03 move.l -[A7], D3
00003B50 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003B54 4EAD F8E0 jsr [A5 - 0x720]
00003B58 206A 0010 movea.l A0, [A2 + 0x10]
00003B5C 2250 movea.l A1, [A0]
00003B5E 302D 8334 move.w D0, [A5 - 0x7CCC]
00003B62 1F71 0000 0026 move.b [A7 + 0x26], [A1 + D0.w]
00003B68 2F2F 0010 move.l -[A7], [A7 + 0x10]
00003B6C 486F 0018 pea.l [A7 + 0x18]
00003B70 2F03 move.l -[A7], D3
00003B72 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003B76 4EAD F8D8 jsr [A5 - 0x728]
00003B7A 4FEF 0038 lea.l A7, [A7 + 0x38]
00003B7E 4CDF 0408 movem.l D3,A2, [A7]+
00003B82 4E75 rts
00003B84 48E7 1030 movem.l -[A7], D3,A2,A3
00003B88 4FEF FFD0 lea.l A7, [A7 - 0x30]
00003B8C 4AAD B452 tst.l [A5 - 0x4BAE]
00003B90 6D00 0092 blt +0x94 /* 00003C24 */
00003B94 594F subq.w A7, 4
00003B96 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00003B9A 4E90 jsr [A0]
00003B9C 205F movea.l A0, [A7]+
00003B9E 2648 movea.l A3, A0
00003BA0 594F subq.w A7, 4
00003BA2 2F0B move.l -[A7], A3
00003BA4 A917 syscall GetWRefCon
00003BA6 201F move.l D0, [A7]+
00003BA8 2440 movea.l A2, D0
00003BAA 486F 0028 pea.l [A7 + 0x28]
00003BAE A972 syscall GetMouse
00003BB0 2F2F 0028 move.l -[A7], [A7 + 0x28]
00003BB4 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003BB8 4EAD F918 jsr [A5 - 0x6E8]
00003BBC 2600 move.l D3, D0
00003BBE 4A83 tst.l D3
00003BC0 504F addq.w A7, 8
00003BC2 6D60 blt +0x62 /* 00003C24 */
00003BC4 B6AD B452 cmp.l D3, [A5 - 0x4BAE]
00003BC8 675A beq +0x5C /* 00003C24 */
00003BCA 7014 moveq.l D0, 0x14
00003BCC 2F40 002C move.l [A7 + 0x2C], D0
00003BD0 486F 002C pea.l [A7 + 0x2C]
00003BD4 486F 0018 pea.l [A7 + 0x18]
00003BD8 2F2D B452 move.l -[A7], [A5 - 0x4BAE]
00003BDC 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003BE0 4EAD F8E0 jsr [A5 - 0x720]
00003BE4 486F 003C pea.l [A7 + 0x3C]
00003BE8 486F 0014 pea.l [A7 + 0x14]
00003BEC 2F03 move.l -[A7], D3
00003BEE 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003BF2 4EAD F8E0 jsr [A5 - 0x720]
00003BF6 2F2F 004C move.l -[A7], [A7 + 0x4C]
00003BFA 486F 0038 pea.l [A7 + 0x38]
00003BFE 2F03 move.l -[A7], D3
00003C00 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003C04 4EAD F8D8 jsr [A5 - 0x728]
00003C08 2F2F 005C move.l -[A7], [A7 + 0x5C]
00003C0C 486F 0034 pea.l [A7 + 0x34]
00003C10 2F2D B452 move.l -[A7], [A5 - 0x4BAE]
00003C14 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003C18 4EAD F8D8 jsr [A5 - 0x728]
00003C1C 2B43 B452 move.l [A5 - 0x4BAE], D3
00003C20 4FEF 0040 lea.l A7, [A7 + 0x40]
label00003C24:
00003C24 4FEF 0030 lea.l A7, [A7 + 0x30]
00003C28 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00003C2C 4E75 rts
fn00003C2E:
00003C2E 48E7 0038 movem.l -[A7], A2,A3,A4
00003C32 286F 0010 movea.l A4, [A7 + 0x10]
00003C36 246F 0014 movea.l A2, [A7 + 0x14]
00003C3A 7000 moveq.l D0, 0x00
00003C3C 102F 0018 move.b D0, [A7 + 0x18]
00003C40 670A beq +0xC /* 00003C4C */
00003C42 5380 subq.l D0, 1
00003C44 6718 beq +0x1A /* 00003C5E */
00003C46 5380 subq.l D0, 1
00003C48 6722 beq +0x24 /* 00003C6C */
00003C4A 602A bra +0x2C /* 00003C76 */
label00003C4C:
00003C4C 202A 0014 move.l D0, [A2 + 0x14]
00003C50 57C0 seq D0
00003C52 4400 neg.b D0
00003C54 4880 ext.w D0
00003C56 48C0 ext.l D0
00003C58 2540 0014 move.l [A2 + 0x14], D0
00003C5C 6018 bra +0x1A /* 00003C76 */
label00003C5E:
00003C5E 4AAA 0014 tst.l [A2 + 0x14]
00003C62 6652 bne +0x54 /* 00003CB6 */
00003C64 7001 moveq.l D0, 0x01
00003C66 2540 0014 move.l [A2 + 0x14], D0
00003C6A 600A bra +0xC /* 00003C76 */
label00003C6C:
00003C6C 4AAA 0014 tst.l [A2 + 0x14]
00003C70 6744 beq +0x46 /* 00003CB6 */
00003C72 42AA 0014 clr.l [A2 + 0x14]
label00003C76:
00003C76 266C 00A0 movea.l A3, [A4 + 0xA0]
00003C7A 4AAA 0014 tst.l [A2 + 0x14]
00003C7E 670E beq +0x10 /* 00003C8E */
00003C80 2F0B move.l -[A7], A3
00003C82 A9D9 syscall TEDeactivate
00003C84 42A7 clr.l -[A7]
00003C86 42A7 clr.l -[A7]
00003C88 2F0B move.l -[A7], A3
00003C8A A9D1 syscall TESetSelect
00003C8C 601C bra +0x1E /* 00003CAA */
label00003C8E:
00003C8E 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003C92 4EAD F908 jsr [A5 - 0x6F8]
00003C96 4A80 tst.l D0
00003C98 584F addq.w A7, 4
00003C9A 670E beq +0x10 /* 00003CAA */
00003C9C 2F0B move.l -[A7], A3
00003C9E A9D8 syscall TEActivate
00003CA0 2F0A move.l -[A7], A2
00003CA2 2F0C move.l -[A7], A4
00003CA4 4EBA 0048 jsr [PC + 0x48 /* 00003CEE */]
00003CA8 504F addq.w A7, 8
label00003CAA:
00003CAA 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00003CAE 2F0C move.l -[A7], A4
00003CB0 4EBA F42E jsr [PC - 0xBD2 /* 000030E0 */]
00003CB4 5C4F addq.w A7, 6
label00003CB6:
00003CB6 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00003CBA 4E75 rts
fn00003CBC:
00003CBC 486D DF50 pea.l [A5 - 0x20B0]
00003CC0 1F2F 0010 move.b -[A7], [A7 + 0x10]
00003CC4 206F 000E movea.l A0, [A7 + 0xE]
00003CC8 2F28 0004 move.l -[A7], [A0 + 0x4]
00003CCC 4EAD F8F0 jsr [A5 - 0x710]
00003CD0 4A80 tst.l D0
00003CD2 4FEF 000A lea.l A7, [A7 + 0xA]
00003CD6 6714 beq +0x16 /* 00003CEC */
00003CD8 4878 0001 push.l 0x1
00003CDC 2F2F 000C move.l -[A7], [A7 + 0xC]
00003CE0 2F2F 000C move.l -[A7], [A7 + 0xC]
00003CE4 4EBA F972 jsr [PC - 0x68E /* 00003658 */]
00003CE8 4FEF 000C lea.l A7, [A7 + 0xC]
label00003CEC:
00003CEC 4E75 rts
fn00003CEE:
00003CEE 4AAF 0008 tst.l [A7 + 0x8]
00003CF2 670A beq +0xC /* 00003CFE */
00003CF4 206F 0008 movea.l A0, [A7 + 0x8]
00003CF8 4AA8 0014 tst.l [A0 + 0x14]
00003CFC 660E bne +0x10 /* 00003D0C */
label00003CFE:
00003CFE 2F2F 0004 move.l -[A7], [A7 + 0x4]
00003D02 4878 0004 push.l 0x4
00003D06 3F3C 7FFF move.w -[A7], 0x7FFF
00003D0A A97E syscall SelectDialogItemText/SelIText
label00003D0C:
00003D0C 4E75 rts
fn00003D0E:
00003D0E 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00003D12 7600 moveq.l D3, 0x00
00003D14 594F subq.w A7, 4
00003D16 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
00003D1C 3F2F 0024 move.w -[A7], [A7 + 0x24]
00003D20 A9A0 syscall GetResource
00003D22 205F movea.l A0, [A7]+
00003D24 2648 movea.l A3, A0
00003D26 2008 move.l D0, A0
00003D28 673C beq +0x3E /* 00003D66 */
00003D2A 594F subq.w A7, 4
00003D2C 2F0B move.l -[A7], A3
00003D2E 4EAD D9AC jsr [A5 - 0x2654]
00003D32 201F move.l D0, [A7]+
00003D34 2A00 move.l D5, D0
00003D36 2453 movea.l A2, [A3]
00003D38 102A 0014 move.b D0, [A2 + 0x14]
00003D3C 7201 moveq.l D1, 0x01
00003D3E C081 and.l D0, D1
00003D40 57C0 seq D0
00003D42 4400 neg.b D0
00003D44 4880 ext.w D0
00003D46 48C0 ext.l D0
00003D48 7200 moveq.l D1, 0x00
00003D4A 122A 0014 move.b D1, [A2 + 0x14]
00003D4E 5281 addq.l D1, 1
00003D50 7414 moveq.l D2, 0x14
00003D52 D282 add.l D1, D2
00003D54 D280 add.l D1, D0
00003D56 2801 move.l D4, D1
00003D58 BA84 cmp.l D5, D4
00003D5A 670A beq +0xC /* 00003D66 */
00003D5C 0C32 0030 4800 cmpi.b [A2 + D4], 0x30 /* '0' */
00003D62 6602 bne +0x4 /* 00003D66 */
00003D64 7601 moveq.l D3, 0x01
label00003D66:
00003D66 2F03 move.l -[A7], D3
00003D68 2F2F 001C move.l -[A7], [A7 + 0x1C]
00003D6C 4EAD E798 jsr [A5 - 0x1868]
00003D70 504F addq.w A7, 8
00003D72 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00003D76 4E75 rts
fn00003D78:
00003D78 4AAF 0008 tst.l [A7 + 0x8]
00003D7C 6736 beq +0x38 /* 00003DB4 */
00003D7E 486D DF40 pea.l [A5 - 0x20C0]
00003D82 3F3C 0005 move.w -[A7], 0x5
00003D86 2F2F 000A move.l -[A7], [A7 + 0xA]
00003D8A 4EBA D916 jsr [PC - 0x26EA /* 000016A2 */]
00003D8E 302D 135E move.w D0, [A5 + 0x135E]
00003D92 48C0 ext.l D0
00003D94 0680 0000 0080 addi.l D0, 0x80
00003D9A 3F00 move.w -[A7], D0
00003D9C A9BF syscall GetRMenu
00003D9E 205F movea.l A0, [A7]+
00003DA0 2B48 8336 move.l [A5 - 0x7CCA], A0
00003DA4 3B7C 0001 8334 move.w [A5 - 0x7CCC], 0x1
00003DAA 7001 moveq.l D0, 0x01
00003DAC 2B40 8330 move.l [A5 - 0x7CD0], D0
00003DB0 5C4F addq.w A7, 6
00003DB2 600A bra +0xC /* 00003DBE */
label00003DB4:
00003DB4 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
00003DB8 A9A3 syscall ReleaseResource
00003DBA 42AD 8336 clr.l [A5 - 0x7CCA]
label00003DBE:
00003DBE 4E75 rts
00003DC0 3F3C 0007 move.w -[A7], 0x7
00003DC4 3F2D 8332 move.w -[A7], [A5 - 0x7CCE]
00003DC8 3F2D 8334 move.w -[A7], [A5 - 0x7CCC]
00003DCC 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
00003DD0 3F2F 000E move.w -[A7], [A7 + 0xE]
00003DD4 2F2F 0012 move.l -[A7], [A7 + 0x12]
00003DD8 4EBA EFC0 jsr [PC - 0x1040 /* 00002D9A */]
00003DDC 4FEF 0010 lea.l A7, [A7 + 0x10]
00003DE0 205F movea.l A0, [A7]+
00003DE2 5C4F addq.w A7, 6
00003DE4 4ED0 jmp [A0]
00003DE6 2F0A move.l -[A7], A2
00003DE8 246F 0008 movea.l A2, [A7 + 0x8]
00003DEC 3F2A 000E move.w -[A7], [A2 + 0xE]
00003DF0 302F 0014 move.w D0, [A7 + 0x14]
00003DF4 48C0 ext.l D0
00003DF6 7202 moveq.l D1, 0x02
00003DF8 B081 cmp.l D0, D1
00003DFA 5EC0 sgt D0
00003DFC 4400 neg.b D0
00003DFE 4880 ext.w D0
00003E00 48C0 ext.l D0
00003E02 3F00 move.w -[A7], D0
00003E04 2F2F 0010 move.l -[A7], [A7 + 0x10]
00003E08 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003E0C 3F2A 000A move.w -[A7], [A2 + 0xA]
00003E10 3F2A 000C move.w -[A7], [A2 + 0xC]
00003E14 2F12 move.l -[A7], [A2]
00003E16 4EAD F6D0 jsr [A5 - 0x930]
00003E1A 4FEF 0014 lea.l A7, [A7 + 0x14]
00003E1E 245F movea.l A2, [A7]+
00003E20 205F movea.l A0, [A7]+
00003E22 4FEF 000C lea.l A7, [A7 + 0xC]
00003E26 4ED0 jmp [A0]
fn00003E28:
00003E28 554F subq.w A7, 2
00003E2A 2F3C 0005 0006 move.l -[A7], 0x50006
00003E30 3F2D 8334 move.w -[A7], [A5 - 0x7CCC]
00003E34 2F2D 8336 move.l -[A7], [A5 - 0x7CCA]
00003E38 2F2F 0010 move.l -[A7], [A7 + 0x10]
00003E3C 4EBA EFC2 jsr [PC - 0x103E /* 00002E00 */]
00003E40 3F40 000E move.w [A7 + 0xE], D0
00003E44 4FEF 000E lea.l A7, [A7 + 0xE]
00003E48 6704 beq +0x6 /* 00003E4E */
00003E4A 3B40 8334 move.w [A5 - 0x7CCC], D0
label00003E4E:
00003E4E 544F addq.w A7, 2
00003E50 4E75 rts
fn00003E52:
00003E52 2F0A move.l -[A7], A2
00003E54 514F subq.w A7, 8
00003E56 4AAD B45A tst.l [A5 - 0x4BA6]
00003E5A 6C2E bge +0x30 /* 00003E8A */
00003E5C 554F subq.w A7, 2
00003E5E 2F3C 6469 746C move.l -[A7], 0x6469746C /* 'ditl' */
00003E64 486F 000A pea.l [A7 + 0xA]
00003E68 4EAD DA66 jsr [A5 - 0x259A]
00003E6C 301F move.w D0, [A7]+
00003E6E 6610 bne +0x12 /* 00003E80 */
00003E70 554F subq.w A7, 2
00003E72 486F 0006 pea.l [A7 + 0x6]
00003E76 4878 001F push.l 0x1F
00003E7A A85D syscall BitTst
00003E7C 101F move.b D0, [A7]+
00003E7E 6604 bne +0x6 /* 00003E84 */
label00003E80:
00003E80 7000 moveq.l D0, 0x00
00003E82 6002 bra +0x4 /* 00003E86 */
label00003E84:
00003E84 7001 moveq.l D0, 0x01
label00003E86:
00003E86 2B40 B45A move.l [A5 - 0x4BA6], D0
label00003E8A:
00003E8A 4AAD B45A tst.l [A5 - 0x4BA6]
00003E8E 6706 beq +0x8 /* 00003E96 */
00003E90 4AAD 132A tst.l [A5 + 0x132A /* export_609 */]
00003E94 673A beq +0x3C /* 00003ED0 */
label00003E96:
00003E96 594F subq.w A7, 4
00003E98 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
00003E9E 3F2F 0018 move.w -[A7], [A7 + 0x18]
00003EA2 A9A0 syscall GetResource
00003EA4 205F movea.l A0, [A7]+
00003EA6 2E88 move.l [A7], A0
00003EA8 2008 move.l D0, A0
00003EAA 6724 beq +0x26 /* 00003ED0 */
00003EAC 2450 movea.l A2, [A0]
00003EAE 4AAD B45A tst.l [A5 - 0x4BA6]
00003EB2 660E bne +0x10 /* 00003EC2 */
00003EB4 0C6A 0005 0008 cmpi.w [A2 + 0x8], 0x5
00003EBA 6606 bne +0x8 /* 00003EC2 */
00003EBC 357C 0004 0008 move.w [A2 + 0x8], 0x4
label00003EC2:
00003EC2 4AAD 132A tst.l [A5 + 0x132A /* export_609 */]
00003EC6 6708 beq +0xA /* 00003ED0 */
00003EC8 257C 746D 5445 000E move.l [A2 + 0xE], 0x746D5445 /* 'tmTE' */
label00003ED0:
00003ED0 504F addq.w A7, 8
00003ED2 245F movea.l A2, [A7]+
00003ED4 4E75 rts
fn00003ED6:
00003ED6 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
00003EDA 4FEF FFF0 lea.l A7, [A7 - 0x10]
00003EDE 266F 0028 movea.l A3, [A7 + 0x28]
00003EE2 246F 002C movea.l A2, [A7 + 0x2C]
00003EE6 282F 0030 move.l D4, [A7 + 0x30]
00003EEA 2F6D 81CC 0004 move.l [A7 + 0x4], [A5 - 0x7E34]
00003EF0 2F6D 81D0 0008 move.l [A7 + 0x8], [A5 - 0x7E30]
00003EF6 2F6D 81D4 000C move.l [A7 + 0xC], [A5 - 0x7E2C]
00003EFC 2604 move.l D3, D4
00003EFE 7A00 moveq.l D5, 0x00
00003F00 200A move.l D0, A2
00003F02 6712 beq +0x14 /* 00003F16 */
00003F04 4AAA 0004 tst.l [A2 + 0x4]
00003F08 670C beq +0xE /* 00003F16 */
00003F0A 2F04 move.l -[A7], D4
00003F0C 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003F10 4EAD F8C0 jsr [A5 - 0x740]
00003F14 504F addq.w A7, 8
label00003F16:
00003F16 200A move.l D0, A2
00003F18 6714 beq +0x16 /* 00003F2E */
00003F1A 4AAA 0014 tst.l [A2 + 0x14]
00003F1E 670E beq +0x10 /* 00003F2E */
00003F20 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00003F24 2F0B move.l -[A7], A3
00003F26 4EBA F1B8 jsr [PC - 0xE48 /* 000030E0 */]
00003F2A 7600 moveq.l D3, 0x00
00003F2C 5C4F addq.w A7, 6
label00003F2E:
00003F2E 4A84 tst.l D4
00003F30 6728 beq +0x2A /* 00003F5A */
00003F32 200A move.l D0, A2
00003F34 6724 beq +0x26 /* 00003F5A */
00003F36 4AAA 0004 tst.l [A2 + 0x4]
00003F3A 671E beq +0x20 /* 00003F5A */
00003F3C 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003F40 4EAD F908 jsr [A5 - 0x6F8]
00003F44 4A80 tst.l D0
00003F46 584F addq.w A7, 4
00003F48 6610 bne +0x12 /* 00003F5A */
00003F4A 7600 moveq.l D3, 0x00
00003F4C 2F6A 0008 0008 move.l [A7 + 0x8], [A2 + 0x8]
00003F52 2F6A 000C 000C move.l [A7 + 0xC], [A2 + 0xC]
00003F58 7A01 moveq.l D5, 0x01
label00003F5A:
00003F5A 200A move.l D0, A2
00003F5C 6706 beq +0x8 /* 00003F64 */
00003F5E 4AAA 0004 tst.l [A2 + 0x4]
00003F62 6604 bne +0x6 /* 00003F68 */
label00003F64:
00003F64 91C8 sub.l A0, A0
00003F66 600C bra +0xE /* 00003F74 */
label00003F68:
00003F68 2E80 move.l [A7], D0
00003F6A 2F2A 0004 move.l -[A7], [A2 + 0x4]
00003F6E 4EAD F920 jsr [A5 - 0x6E0]
00003F72 584F addq.w A7, 4
label00003F74:
00003F74 2F48 0004 move.l [A7 + 0x4], A0
00003F78 3F3C 0003 move.w -[A7], 0x3
00003F7C 486F 0006 pea.l [A7 + 0x6]
00003F80 3F03 move.w -[A7], D3
00003F82 3F04 move.w -[A7], D4
00003F84 2F0B move.l -[A7], A3
00003F86 4EBA E0F2 jsr [PC - 0x1F0E /* 0000207A */]
00003F8A 4A84 tst.l D4
00003F8C 4FEF 000E lea.l A7, [A7 + 0xE]
00003F90 6704 beq +0x6 /* 00003F96 */
00003F92 4A85 tst.l D5
00003F94 6704 beq +0x6 /* 00003F9A */
label00003F96:
00003F96 7000 moveq.l D0, 0x00
00003F98 6002 bra +0x4 /* 00003F9C */
label00003F9A:
00003F9A 7001 moveq.l D0, 0x01
label00003F9C:
00003F9C 2B40 8330 move.l [A5 - 0x7CD0], D0
00003FA0 1F3C 0004 move.b -[A7], 0x4
00003FA4 3F3C 0005 move.w -[A7], 0x5
00003FA8 42A7 clr.l -[A7]
00003FAA 2F0B move.l -[A7], A3
00003FAC 4EBA EF2A jsr [PC - 0x10D6 /* 00002ED8 */]
00003FB0 4FEF 001C lea.l A7, [A7 + 0x1C]
00003FB4 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
00003FB8 4E75 rts
00003FBA 4FEF FFE4 lea.l A7, [A7 - 0x1C]
00003FBE 7014 moveq.l D0, 0x14
00003FC0 2F40 0004 move.l [A7 + 0x4], D0
00003FC4 486F 0004 pea.l [A7 + 0x4]
00003FC8 486F 000C pea.l [A7 + 0xC]
00003FCC 2F2F 002C move.l -[A7], [A7 + 0x2C]
00003FD0 2F2F 002C move.l -[A7], [A7 + 0x2C]
00003FD4 4EAD F8E0 jsr [A5 - 0x720]
00003FD8 4AAF 0018 tst.l [A7 + 0x18]
00003FDC 4FEF 0010 lea.l A7, [A7 + 0x10]
00003FE0 6748 beq +0x4A /* 0000402A */
00003FE2 206F 0008 movea.l A0, [A7 + 0x8]
00003FE6 2050 movea.l A0, [A0]
00003FE8 70FF moveq.l D0, 0xFFFFFFFF
label00003FEA:
00003FEA 5280 addq.l D0, 1
00003FEC 4A18 tst.b [A0]+
00003FEE 66FA bne -0x4 /* 00003FEA */
00003FF0 B0AF 002C cmp.l D0, [A7 + 0x2C]
00003FF4 6534 bcs +0x36 /* 0000402A */
00003FF6 206F 0008 movea.l A0, [A7 + 0x8]
00003FFA A029 syscall HLock
00003FFC 2F2F 002C move.l -[A7], [A7 + 0x2C]
00004000 2F2F 002C move.l -[A7], [A7 + 0x2C]
00004004 206F 0010 movea.l A0, [A7 + 0x10]
00004008 2F10 move.l -[A7], [A0]
0000400A 4EAD E460 jsr [A5 - 0x1BA0]
0000400E 2F40 000C move.l [A7 + 0xC], D0
00004012 206F 0014 movea.l A0, [A7 + 0x14]
00004016 A02A syscall HUnlock
00004018 4AAF 000C tst.l [A7 + 0xC]
0000401C 57C0 seq D0
0000401E 4400 neg.b D0
00004020 4880 ext.w D0
00004022 48C0 ext.l D0
00004024 4FEF 0028 lea.l A7, [A7 + 0x28]
00004028 4E75 rts
label0000402A:
0000402A 7000 moveq.l D0, 0x00
0000402C 4FEF 001C lea.l A7, [A7 + 0x1C]
00004030 4E75 rts
fn00004032:
00004032 48E7 103A movem.l -[A7], D3,A2,A3,A4,A6
00004036 2C6F 0018 movea.l A6, [A7 + 0x18]
0000403A 286F 001C movea.l A4, [A7 + 0x1C]
0000403E 266F 0020 movea.l A3, [A7 + 0x20]
00004042 45ED 82E0 lea.l A2, [A5 - 0x7D20]
00004046 200B move.l D0, A3
00004048 6702 beq +0x4 /* 0000404C */
0000404A 4293 clr.l [A3]
label0000404C:
0000404C 7600 moveq.l D3, 0x00
0000404E 602C bra +0x2E /* 0000407C */
label00004050:
00004050 BDEA 0008 cmpa.l A6, [A2 + 0x8]
00004054 6620 bne +0x22 /* 00004076 */
00004056 200B move.l D0, A3
00004058 6704 beq +0x6 /* 0000405E */
0000405A 26AA 000C move.l [A3], [A2 + 0xC]
label0000405E:
0000405E 4A92 tst.l [A2]
00004060 6720 beq +0x22 /* 00004082 */
00004062 200C move.l D0, A4
00004064 6708 beq +0xA /* 0000406E */
00004066 2F0E move.l -[A7], A6
00004068 2F0C move.l -[A7], A4
0000406A 2052 movea.l A0, [A2]
0000406C 4E90 jsr [A0]
label0000406E:
0000406E 7001 moveq.l D0, 0x01
00004070 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00004074 4E75 rts
label00004076:
00004076 5283 addq.l D3, 1
00004078 7010 moveq.l D0, 0x10
0000407A D5C0 add.l A2, D0
label0000407C:
0000407C B6AD B456 cmp.l D3, [A5 - 0x4BAA]
00004080 6FCE ble -0x30 /* 00004050 */
label00004082:
00004082 7000 moveq.l D0, 0x00
00004084 4CDF 5C08 movem.l D3,A2,A3,A4,A6, [A7]+
00004088 4E75 rts
fn0000408A:
0000408A 48E7 1038 movem.l -[A7], D3,A2,A3,A4
0000408E 286F 0014 movea.l A4, [A7 + 0x14]
00004092 362F 0018 move.w D3, [A7 + 0x18]
00004096 3F03 move.w -[A7], D3
00004098 2F0C move.l -[A7], A4
0000409A 4EBA D5E2 jsr [PC - 0x2A1E /* 0000167E */]
0000409E 2648 movea.l A3, A0
000040A0 2008 move.l D0, A0
000040A2 5C4F addq.w A7, 6
000040A4 6726 beq +0x28 /* 000040CC */
000040A6 2453 movea.l A2, [A3]
000040A8 4A2A 0011 tst.b [A2 + 0x11]
000040AC 661E bne +0x20 /* 000040CC */
000040AE 4A2A 0010 tst.b [A2 + 0x10]
000040B2 6718 beq +0x1A /* 000040CC */
000040B4 3F03 move.w -[A7], D3
000040B6 2F0C move.l -[A7], A4
000040B8 4EBA D670 jsr [PC - 0x2990 /* 0000172A */]
000040BC 3F03 move.w -[A7], D3
000040BE 4EBA 0732 jsr [PC + 0x732 /* 000047F2 */]
000040C2 7001 moveq.l D0, 0x01
000040C4 5C4F addq.w A7, 6
000040C6 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000040CA 4E75 rts
label000040CC:
000040CC 7000 moveq.l D0, 0x00
000040CE 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
000040D2 4E75 rts
000040D4 3F3C 000A move.w -[A7], 0xA /* '\n' */
000040D8 A9C8 syscall SysBeep
000040DA 2E9F move.l [A7], [A7]+
000040DC 4E75 rts
fn000040DE:
000040DE 48E7 1C3A movem.l -[A7], D3,D4,D5,A2,A3,A4,A6
000040E2 362F 0020 move.w D3, [A7 + 0x20]
000040E6 2C6F 0022 movea.l A6, [A7 + 0x22]
000040EA 266F 002E movea.l A3, [A7 + 0x2E]
000040EE 2A2F 0036 move.l D5, [A7 + 0x36]
000040F2 7800 moveq.l D4, 0x00
000040F4 3003 move.w D0, D3
000040F6 48C0 ext.l D0
000040F8 322D 135E move.w D1, [A5 + 0x135E]
000040FC 48C1 ext.l D1
000040FE 0681 0000 008E addi.l D1, 0x8E
00004104 B280 cmp.l D1, D0
00004106 673C beq +0x3E /* 00004144 */
00004108 3003 move.w D0, D3
0000410A 48C0 ext.l D0
0000410C 322D 135E move.w D1, [A5 + 0x135E]
00004110 48C1 ext.l D1
00004112 0681 0000 008D addi.l D1, 0x8D
00004118 B280 cmp.l D1, D0
0000411A 6728 beq +0x2A /* 00004144 */
0000411C 3003 move.w D0, D3
0000411E 48C0 ext.l D0
00004120 322D 135E move.w D1, [A5 + 0x135E]
00004124 48C1 ext.l D1
00004126 0681 0000 0095 addi.l D1, 0x95
0000412C B280 cmp.l D1, D0
0000412E 6714 beq +0x16 /* 00004144 */
00004130 3003 move.w D0, D3
00004132 48C0 ext.l D0
00004134 322D 135E move.w D1, [A5 + 0x135E]
00004138 48C1 ext.l D1
0000413A 0681 0000 008F addi.l D1, 0x8F
00004140 B280 cmp.l D1, D0
00004142 6622 bne +0x24 /* 00004166 */
label00004144:
00004144 7801 moveq.l D4, 0x01
00004146 302D 135E move.w D0, [A5 + 0x135E]
0000414A 48C0 ext.l D0
0000414C 0680 0000 008C addi.l D0, 0x8C
00004152 3F00 move.w -[A7], D0
00004154 4EAD DB62 jsr [A5 - 0x249E]
00004158 4A80 tst.l D0
0000415A 544F addq.w A7, 2
0000415C 6608 bne +0xA /* 00004166 */
0000415E 7000 moveq.l D0, 0x00
00004160 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00004164 4E75 rts
label00004166:
00004166 3F03 move.w -[A7], D3
00004168 4EBA FCE8 jsr [PC - 0x318 /* 00003E52 */]
0000416C 594F subq.w A7, 4
0000416E 3F03 move.w -[A7], D3
00004170 42A7 clr.l -[A7]
00004172 4878 FFFF push.l 0xFFFF
00004176 206D 135A movea.l A0, [A5 + 0x135A /* export_615 */]
0000417A 4E90 jsr [A0]
0000417C 205F movea.l A0, [A7]+
0000417E 2448 movea.l A2, A0
00004180 2008 move.l D0, A0
00004182 544F addq.w A7, 2
00004184 6608 bne +0xA /* 0000418E */
00004186 7000 moveq.l D0, 0x00
00004188 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
0000418C 4E75 rts
label0000418E:
0000418E 4A85 tst.l D5
00004190 6708 beq +0xA /* 0000419A */
00004192 2F0A move.l -[A7], A2
00004194 4EBA 00A4 jsr [PC + 0xA4 /* 0000423A */]
00004198 584F addq.w A7, 4
label0000419A:
0000419A 2F0A move.l -[A7], A2
0000419C 2F2F 002E move.l -[A7], [A7 + 0x2E]
000041A0 A918 syscall SetWRefCon
000041A2 52AD B456 addq.l [A5 - 0x4BAA], 1
000041A6 202D B456 move.l D0, [A5 - 0x4BAA]
000041AA E988 lsl D0, 4
000041AC 41ED 82E0 lea.l A0, [A5 - 0x7D20]
000041B0 21AF 0026 0800 move.l [A0 + D0], [A7 + 0x26]
000041B6 202D B456 move.l D0, [A5 - 0x4BAA]
000041BA E988 lsl D0, 4
000041BC 2848 movea.l A4, A0
000041BE D9C0 add.l A4, D0
000041C0 42AC 0004 clr.l [A4 + 0x4]
000041C4 294A 0008 move.l [A4 + 0x8], A2
000041C8 202D B456 move.l D0, [A5 - 0x4BAA]
000041CC E988 lsl D0, 4
000041CE 2185 080C move.l [A0 + D0 + 0xC], D5
000041D2 200E move.l D0, A6
000041D4 6704 beq +0x6 /* 000041DA */
000041D6 2F0A move.l -[A7], A2
000041D8 4E96 jsr [A6]
label000041DA:
000041DA 3F03 move.w -[A7], D3
000041DC 2F0B move.l -[A7], A3
000041DE 42A7 clr.l -[A7]
000041E0 2F0A move.l -[A7], A2
000041E2 4EBA F0AA jsr [PC - 0xF56 /* 0000328E */]
000041E6 4EBA 083E jsr [PC + 0x83E /* 00004A26 */]
000041EA 3600 move.w D3, D0
000041EC 53AD B456 subq.l [A5 - 0x4BAA], 1
000041F0 200B move.l D0, A3
000041F2 4FEF 000E lea.l A7, [A7 + 0xE]
000041F6 6714 beq +0x16 /* 0000420C */
000041F8 2F0A move.l -[A7], A2
000041FA 4EBA CF52 jsr [PC - 0x30AE /* 0000114E */]
000041FE 26AA 0010 move.l [A3], [A2 + 0x10]
00004202 2F0B move.l -[A7], A3
00004204 A870 syscall LocalToGlobal
00004206 4EBA CF68 jsr [PC - 0x3098 /* 00001170 */]
0000420A 584F addq.w A7, 4
label0000420C:
0000420C 4AAF 0032 tst.l [A7 + 0x32]
00004210 6708 beq +0xA /* 0000421A */
00004212 2F0A move.l -[A7], A2
00004214 206D 134E movea.l A0, [A5 + 0x134E]
00004218 4E90 jsr [A0]
label0000421A:
0000421A 4A84 tst.l D4
0000421C 6714 beq +0x16 /* 00004232 */
0000421E 302D 135E move.w D0, [A5 + 0x135E]
00004222 48C0 ext.l D0
00004224 0680 0000 008C addi.l D0, 0x8C
0000422A 3F00 move.w -[A7], D0
0000422C 4EAD DB68 jsr [A5 - 0x2498]
00004230 544F addq.w A7, 2
label00004232:
00004232 3003 move.w D0, D3
00004234 4CDF 5C38 movem.l D3,D4,D5,A2,A3,A4,A6, [A7]+
00004238 4E75 rts
fn0000423A:
0000423A 594F subq.w A7, 4
0000423C 4EBA 0030 jsr [PC + 0x30 /* 0000426E */]
00004240 4A80 tst.l D0
00004242 6726 beq +0x28 /* 0000426A */
00004244 594F subq.w A7, 4
00004246 2F3C 4443 5442 move.l -[A7], 0x44435442 /* 'DCTB' */
0000424C 302D 135E move.w D0, [A5 + 0x135E]
00004250 48C0 ext.l D0
00004252 0680 0000 0080 addi.l D0, 0x80
00004258 3F00 move.w -[A7], D0
0000425A A9A0 syscall GetResource
0000425C 205F movea.l A0, [A7]+
0000425E 2E88 move.l [A7], A0
00004260 2F2F 0008 move.l -[A7], [A7 + 0x8]
00004264 2F2F 0004 move.l -[A7], [A7 + 0x4]
00004268 AA41 syscall SetWinColor
label0000426A:
0000426A 584F addq.w A7, 4
0000426C 4E75 rts
fn0000426E:
0000426E 7000 moveq.l D0, 0x00
00004270 102D 81A0 move.b D0, [A5 - 0x7E60]
00004274 7202 moveq.l D1, 0x02
00004276 B081 cmp.l D0, D1
00004278 6C04 bge +0x6 /* 0000427E */
0000427A 7000 moveq.l D0, 0x00
0000427C 4E75 rts
label0000427E:
0000427E 4A2D 81CA tst.b [A5 - 0x7E36]
00004282 661E bne +0x20 /* 000042A2 */
00004284 594F subq.w A7, 4
00004286 2F3C 4E4F 3344 move.l -[A7], 0x4E4F3344 /* 'NO3D' */
0000428C 3F3C 0001 move.w -[A7], 0x1
00004290 A99D syscall GetIndResource
00004292 205F movea.l A0, [A7]+
00004294 2008 move.l D0, A0
00004296 6604 bne +0x6 /* 0000429C */
00004298 7002 moveq.l D0, 0x02
0000429A 6002 bra +0x4 /* 0000429E */
label0000429C:
0000429C 7001 moveq.l D0, 0x01
label0000429E:
0000429E 1B40 81CA move.b [A5 - 0x7E36], D0
label000042A2:
000042A2 0C2D 0002 81CA cmpi.b [A5 - 0x7E36], 0x2
000042A8 57C0 seq D0
000042AA 4400 neg.b D0
000042AC 4880 ext.w D0
000042AE 48C0 ext.l D0
000042B0 4E75 rts
000042B2 2F03 move.l -[A7], D3
000042B4 4FEF FFE6 lea.l A7, [A7 - 0x1A]
000042B8 262F 0022 move.l D3, [A7 + 0x22]
000042BC 7210 moveq.l D1, 0x10
000042BE E2A3 asr D3, D1
000042C0 486F 0006 pea.l [A7 + 0x6]
000042C4 A874 syscall GetPort
000042C6 486F 0012 pea.l [A7 + 0x12]
000042CA 3F03 move.w -[A7], D3
000042CC 2F2F 000C move.l -[A7], [A7 + 0xC]
000042D0 4EBA D406 jsr [PC - 0x2BFA /* 000016D8 */]
000042D4 302F 0036 move.w D0, [A7 + 0x36]
000042D8 48C0 ext.l D0
000042DA 7202 moveq.l D1, 0x02
000042DC B081 cmp.l D0, D1
000042DE 4FEF 000A lea.l A7, [A7 + 0xA]
000042E2 6E0A bgt +0xC /* 000042EE */
000042E4 486F 0012 pea.l [A7 + 0x12]
000042E8 A8A1 syscall FrameRect
000042EA 6000 00D6 bra +0xD8 /* 000043C2 */
label000042EE:
000042EE 2EAD B466 move.l [A7], [A5 - 0x4B9A]
000042F2 3F6D B46A 0004 move.w [A7 + 0x4], [A5 - 0x4B96]
000042F8 362F 0024 move.w D3, [A7 + 0x24]
000042FC 486F 000A pea.l [A7 + 0xA]
00004300 3F03 move.w -[A7], D3
00004302 2F2F 000C move.l -[A7], [A7 + 0xC]
00004306 4EBA D3D0 jsr [PC - 0x2C30 /* 000016D8 */]
0000430A 486F 0014 pea.l [A7 + 0x14]
0000430E 4878 FFFF push.l 0xFFFF
00004312 A8A9 syscall InsetRect
00004314 4EBA CF5E jsr [PC - 0x30A2 /* 00001274 */]
00004318 486F 000A pea.l [A7 + 0xA]
0000431C AA14 syscall RGBForeColor
0000431E 3F2F 001E move.w -[A7], [A7 + 0x1E]
00004322 302F 0022 move.w D0, [A7 + 0x22]
00004326 48C0 ext.l D0
00004328 5380 subq.l D0, 1
0000432A 3F00 move.w -[A7], D0
0000432C A893 syscall MoveTo
0000432E 3F2F 001E move.w -[A7], [A7 + 0x1E]
00004332 3F2F 001E move.w -[A7], [A7 + 0x1E]
00004336 A891 syscall LineTo
00004338 3F2F 0016 move.w -[A7], [A7 + 0x16]
0000433C 3F2F 001E move.w -[A7], [A7 + 0x1E]
00004340 A891 syscall LineTo
00004342 3F2F 0016 move.w -[A7], [A7 + 0x16]
00004346 3F2F 0016 move.w -[A7], [A7 + 0x16]
0000434A A891 syscall LineTo
0000434C 302F 001A move.w D0, [A7 + 0x1A]
00004350 48C0 ext.l D0
00004352 5380 subq.l D0, 1
00004354 3F00 move.w -[A7], D0
00004356 3F2F 0016 move.w -[A7], [A7 + 0x16]
0000435A A891 syscall LineTo
0000435C 4878 001E push.l 0x1E
00004360 A862 syscall ForeColor
00004362 302F 001A move.w D0, [A7 + 0x1A]
00004366 48C0 ext.l D0
00004368 5380 subq.l D0, 1
0000436A 3F00 move.w -[A7], D0
0000436C 3F2F 001E move.w -[A7], [A7 + 0x1E]
00004370 A891 syscall LineTo
00004372 486F 000A pea.l [A7 + 0xA]
00004376 AA14 syscall RGBForeColor
00004378 302F 0022 move.w D0, [A7 + 0x22]
0000437C 48C0 ext.l D0
0000437E 5380 subq.l D0, 1
00004380 3F00 move.w -[A7], D0
00004382 3F2F 001E move.w -[A7], [A7 + 0x1E]
00004386 A891 syscall LineTo
00004388 4878 001E push.l 0x1E
0000438C A862 syscall ForeColor
0000438E 302F 0022 move.w D0, [A7 + 0x22]
00004392 48C0 ext.l D0
00004394 5380 subq.l D0, 1
00004396 3F00 move.w -[A7], D0
00004398 302F 0022 move.w D0, [A7 + 0x22]
0000439C 48C0 ext.l D0
0000439E 5380 subq.l D0, 1
000043A0 3F00 move.w -[A7], D0
000043A2 A891 syscall LineTo
000043A4 302F 001E move.w D0, [A7 + 0x1E]
000043A8 48C0 ext.l D0
000043AA 5280 addq.l D0, 1
000043AC 3F00 move.w -[A7], D0
000043AE 302F 0022 move.w D0, [A7 + 0x22]
000043B2 48C0 ext.l D0
000043B4 5380 subq.l D0, 1
000043B6 3F00 move.w -[A7], D0
000043B8 A891 syscall LineTo
000043BA 4EBA CF3A jsr [PC - 0x30C6 /* 000012F6 */]
000043BE 4FEF 000A lea.l A7, [A7 + 0xA]
label000043C2:
000043C2 4FEF 001A lea.l A7, [A7 + 0x1A]
000043C6 261F move.l D3, [A7]+
000043C8 205F movea.l A0, [A7]+
000043CA 4FEF 000C lea.l A7, [A7 + 0xC]
000043CE 4ED0 jmp [A0]
000043D0 2F0A move.l -[A7], A2
000043D2 5D4F subq.w A7, 6
000043D4 246F 000E movea.l A2, [A7 + 0xE]
000043D8 302F 0018 move.w D0, [A7 + 0x18]
000043DC 48C0 ext.l D0
000043DE 7202 moveq.l D1, 0x02
000043E0 B081 cmp.l D0, D1
000043E2 6F00 009C ble +0x9E /* 00004480 */
000043E6 3F7C 7778 0004 move.w [A7 + 0x4], 0x7778 /* 'wx' */
000043EC 3F7C 7778 0002 move.w [A7 + 0x2], 0x7778 /* 'wx' */
000043F2 3EBC 7778 move.w [A7], 0x7778 /* 'wx' */
000043F6 4AAA 0008 tst.l [A2 + 0x8]
000043FA 6708 beq +0xA /* 00004404 */
000043FC 4878 001E push.l 0x1E
00004400 A862 syscall ForeColor
00004402 6004 bra +0x6 /* 00004408 */
label00004404:
00004404 4857 pea.l [A7]
00004406 AA14 syscall RGBForeColor
label00004408:
00004408 3F2A 0002 move.w -[A7], [A2 + 0x2]
0000440C 302A 0004 move.w D0, [A2 + 0x4]
00004410 48C0 ext.l D0
00004412 5380 subq.l D0, 1
00004414 3F00 move.w -[A7], D0
00004416 A893 syscall MoveTo
00004418 3F2A 0002 move.w -[A7], [A2 + 0x2]
0000441C 3F12 move.w -[A7], [A2]
0000441E A891 syscall LineTo
00004420 302A 0006 move.w D0, [A2 + 0x6]
00004424 48C0 ext.l D0
00004426 5380 subq.l D0, 1
00004428 3F00 move.w -[A7], D0
0000442A 3F12 move.w -[A7], [A2]
0000442C A891 syscall LineTo
0000442E 4AAA 0008 tst.l [A2 + 0x8]
00004432 6706 beq +0x8 /* 0000443A */
00004434 4857 pea.l [A7]
00004436 AA14 syscall RGBForeColor
00004438 6006 bra +0x8 /* 00004440 */
label0000443A:
0000443A 4878 001E push.l 0x1E
0000443E A862 syscall ForeColor
label00004440:
00004440 302A 0006 move.w D0, [A2 + 0x6]
00004444 48C0 ext.l D0
00004446 5380 subq.l D0, 1
00004448 3F00 move.w -[A7], D0
0000444A 3012 move.w D0, [A2]
0000444C 48C0 ext.l D0
0000444E 5280 addq.l D0, 1
00004450 3F00 move.w -[A7], D0
00004452 A893 syscall MoveTo
00004454 302A 0006 move.w D0, [A2 + 0x6]
00004458 48C0 ext.l D0
0000445A 5380 subq.l D0, 1
0000445C 3F00 move.w -[A7], D0
0000445E 302A 0004 move.w D0, [A2 + 0x4]
00004462 48C0 ext.l D0
00004464 5380 subq.l D0, 1
00004466 3F00 move.w -[A7], D0
00004468 A891 syscall LineTo
0000446A 302A 0002 move.w D0, [A2 + 0x2]
0000446E 48C0 ext.l D0
00004470 5280 addq.l D0, 1
00004472 3F00 move.w -[A7], D0
00004474 302A 0004 move.w D0, [A2 + 0x4]
00004478 48C0 ext.l D0
0000447A 5380 subq.l D0, 1
0000447C 3F00 move.w -[A7], D0
0000447E A891 syscall LineTo
label00004480:
00004480 5C4F addq.w A7, 6
00004482 245F movea.l A2, [A7]+
00004484 205F movea.l A0, [A7]+
00004486 4FEF 000C lea.l A7, [A7 + 0xC]
0000448A 4ED0 jmp [A0]
fn0000448C:
0000448C 48E7 1030 movem.l -[A7], D3,A2,A3
00004490 514F subq.w A7, 8
00004492 266F 0018 movea.l A3, [A7 + 0x18]
00004496 246F 001C movea.l A2, [A7 + 0x1C]
0000449A 4857 pea.l [A7]
0000449C 3F3C 0003 move.w -[A7], 0x3
000044A0 2F0B move.l -[A7], A3
000044A2 4EBA D234 jsr [PC - 0x2DCC /* 000016D8 */]
000044A6 362F 0010 move.w D3, [A7 + 0x10]
000044AA 48C3 ext.l D3
000044AC 322B 0016 move.w D1, [A3 + 0x16]
000044B0 48C1 ext.l D1
000044B2 9283 sub.l D1, D3
000044B4 2601 move.l D3, D1
000044B6 E08B lsr D3, 8
000044B8 E08B lsr D3, 8
000044BA E08B lsr D3, 8
000044BC EE8B lsr D3, 7
000044BE D681 add.l D3, D1
000044C0 E283 asr D3, 1
000044C2 3483 move.w [A2], D3
000044C4 3543 0002 move.w [A2 + 0x2], D3
000044C8 3003 move.w D0, D3
000044CA 48C0 ext.l D0
000044CC 322B 0016 move.w D1, [A3 + 0x16]
000044D0 48C1 ext.l D1
000044D2 9280 sub.l D1, D0
000044D4 3541 0006 move.w [A2 + 0x6], D1
000044D8 3003 move.w D0, D3
000044DA 48C0 ext.l D0
000044DC 322F 000A move.w D1, [A7 + 0xA]
000044E0 48C1 ext.l D1
000044E2 9280 sub.l D1, D0
000044E4 3541 0004 move.w [A2 + 0x4], D1
000044E8 4FEF 0012 lea.l A7, [A7 + 0x12]
000044EC 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000044F0 4E75 rts
fn000044F2:
000044F2 48E7 1020 movem.l -[A7], D3,A2
000044F6 4FEF FFE6 lea.l A7, [A7 - 0x1A]
000044FA 246F 0026 movea.l A2, [A7 + 0x26]
000044FE 362A 00A4 move.w D3, [A2 + 0xA4]
00004502 48C3 ext.l D3
00004504 5283 addq.l D3, 1
00004506 4EBA CD6C jsr [PC - 0x3294 /* 00001274 */]
0000450A 4A43 tst.w D3
0000450C 6738 beq +0x3A /* 00004546 */
0000450E 486F 0006 pea.l [A7 + 0x6]
00004512 3F03 move.w -[A7], D3
00004514 2F0A move.l -[A7], A2
00004516 4EBA D1C0 jsr [PC - 0x2E40 /* 000016D8 */]
0000451A 4878 001E push.l 0x1E
0000451E A863 syscall BackColor
00004520 486F 0010 pea.l [A7 + 0x10]
00004524 2F3C FFFE FFFE move.l -[A7], 0xFFFEFFFE
0000452A A8A9 syscall InsetRect
0000452C 486F 0010 pea.l [A7 + 0x10]
00004530 A8A3 syscall EraseRect
00004532 486F 0010 pea.l [A7 + 0x10]
00004536 2F2A 00A0 move.l -[A7], [A2 + 0xA0]
0000453A A9D3 syscall TEUpdate
0000453C 486F 0010 pea.l [A7 + 0x10]
00004540 A92A syscall ValidRect
00004542 4FEF 000A lea.l A7, [A7 + 0xA]
label00004546:
00004546 2F0A move.l -[A7], A2
00004548 A922 syscall BeginUpdate
0000454A 3F7C DDDE 0004 move.w [A7 + 0x4], 0xDDDE
00004550 3F7C DDDE 0002 move.w [A7 + 0x2], 0xDDDE
00004556 3EBC DDDE move.w [A7], 0xDDDE
0000455A 4857 pea.l [A7]
0000455C AA15 syscall RGBBackColor
0000455E 2F0A move.l -[A7], A2
00004560 2F2A 0018 move.l -[A7], [A2 + 0x18]
00004564 A978 syscall UpdtDialog
00004566 2F6A 0010 000E move.l [A7 + 0xE], [A2 + 0x10]
0000456C 2F6A 0014 0012 move.l [A7 + 0x12], [A2 + 0x14]
00004572 7001 moveq.l D0, 0x01
00004574 2F40 0016 move.l [A7 + 0x16], D0
00004578 2F2A 0018 move.l -[A7], [A2 + 0x18]
0000457C 486D DF68 pea.l [A5 - 0x2098]
00004580 486F 0016 pea.l [A7 + 0x16]
00004584 42A7 clr.l -[A7]
00004586 4EBA D40C jsr [PC - 0x2BF4 /* 00001994 */]
0000458A 4AAF 002A tst.l [A7 + 0x2A]
0000458E 6722 beq +0x24 /* 000045B2 */
00004590 486F 000E pea.l [A7 + 0xE]
00004594 2F0A move.l -[A7], A2
00004596 4EBA FEF4 jsr [PC - 0x10C /* 0000448C */]
0000459A 42AF 001E clr.l [A7 + 0x1E]
0000459E 2F2A 0018 move.l -[A7], [A2 + 0x18]
000045A2 486D DF68 pea.l [A5 - 0x2098]
000045A6 486F 001E pea.l [A7 + 0x1E]
000045AA 42A7 clr.l -[A7]
000045AC 4EBA D3E6 jsr [PC - 0x2C1A /* 00001994 */]
000045B0 504F addq.w A7, 8
label000045B2:
000045B2 2F0A move.l -[A7], A2
000045B4 A923 syscall EndUpdate
000045B6 4EBA CD3E jsr [PC - 0x32C2 /* 000012F6 */]
000045BA 4878 001E push.l 0x1E
000045BE A863 syscall BackColor
000045C0 4FEF 001A lea.l A7, [A7 + 0x1A]
000045C4 4CDF 0408 movem.l D3,A2, [A7]+
000045C8 4E75 rts
fn000045CA:
000045CA 4FEF FFC8 lea.l A7, [A7 - 0x38]
000045CE 4AAD 131E tst.l [A5 + 0x131E]
000045D2 6700 00D0 beq +0xD2 /* 000046A4 */
000045D6 4AAD 1316 tst.l [A5 + 0x1316]
000045DA 6700 00C8 beq +0xCA /* 000046A4 */
000045DE 4AAD 81C6 tst.l [A5 - 0x7E3A]
000045E2 6708 beq +0xA /* 000045EC */
000045E4 7000 moveq.l D0, 0x00
000045E6 4FEF 0038 lea.l A7, [A7 + 0x38]
000045EA 4E75 rts
label000045EC:
000045EC 554F subq.w A7, 2
000045EE 486F 0006 pea.l [A7 + 0x6]
000045F2 70FF moveq.l D0, 0xFFFFFFFF
000045F4 2F00 move.l -[A7], D0
000045F6 3F3C 0039 move.w -[A7], 0x39 /* '9' */
000045FA A88F syscall OSDispatch
000045FC 301F move.w D0, [A7]+
000045FE 554F subq.w A7, 2
00004600 486F 000E pea.l [A7 + 0xE]
00004604 3F3C 0037 move.w -[A7], 0x37 /* '7' */
00004608 A88F syscall OSDispatch
0000460A 301F move.w D0, [A7]+
0000460C 554F subq.w A7, 2
0000460E 486F 0006 pea.l [A7 + 0x6]
00004612 486F 0012 pea.l [A7 + 0x12]
00004616 486F 000D pea.l [A7 + 0xD]
0000461A 3F3C 003D move.w -[A7], 0x3D /* '=' */
0000461E A88F syscall OSDispatch
00004620 301F move.w D0, [A7]+
00004622 4A2F 0003 tst.b [A7 + 0x3]
00004626 667C bne +0x7E /* 000046A4 */
00004628 41ED 81A2 lea.l A0, [A5 - 0x7E5E]
0000462C 43EF 0014 lea.l A1, [A7 + 0x14]
00004630 7008 moveq.l D0, 0x08
label00004632:
00004632 22D8 move.l [A1]+, [A0]+
00004634 51C8 FFFC dbf D0, -0x6 /* 00004632 */
00004638 3F7C 0008 0018 move.w [A7 + 0x18], 0x8
0000463E 3F7C 0001 0022 move.w [A7 + 0x22], 0x1
00004644 70FF moveq.l D0, 0xFFFFFFFF
00004646 2F40 0028 move.l [A7 + 0x28], D0
0000464A 554F subq.w A7, 2
0000464C 486F 0026 pea.l [A7 + 0x26]
00004650 3F3C 0081 move.w -[A7], 0x81
00004654 2F3C 0000 FF00 move.l -[A7], 0xFF00
0000465A 303C 0501 move.w D0, 0x501
0000465E ABC9 syscall IconDispatch
00004660 301F move.w D0, [A7]+
00004662 7001 moveq.l D0, 0x01
00004664 2B40 81C6 move.l [A5 - 0x7E3A], D0
00004668 554F subq.w A7, 2
0000466A 4878 FFFF push.l 0xFFFF
0000466E 486F 001A pea.l [A7 + 0x1A]
00004672 42A7 clr.l -[A7]
00004674 303C 061C move.w D0, 0x61C
00004678 A816 syscall Pack8
0000467A 301F move.w D0, [A7]+
0000467C 3E80 move.w [A7], D0
0000467E 42AD 81C6 clr.l [A5 - 0x7E3A]
00004682 4AAF 0024 tst.l [A7 + 0x24]
00004686 6710 beq +0x12 /* 00004698 */
00004688 554F subq.w A7, 2
0000468A 2F2F 0026 move.l -[A7], [A7 + 0x26]
0000468E 4227 clr.b -[A7]
00004690 303C 0302 move.w D0, 0x302
00004694 ABC9 syscall IconDispatch
00004696 301F move.w D0, [A7]+
label00004698:
00004698 4A57 tst.w [A7]
0000469A 6708 beq +0xA /* 000046A4 */
0000469C 7000 moveq.l D0, 0x00
0000469E 4FEF 0038 lea.l A7, [A7 + 0x38]
000046A2 4E75 rts
label000046A4:
000046A4 7001 moveq.l D0, 0x01
000046A6 4FEF 0038 lea.l A7, [A7 + 0x38]
000046AA 4E75 rts
fn000046AC:
000046AC 48E7 1020 movem.l -[A7], D3,A2
000046B0 246F 000C movea.l A2, [A7 + 0xC]
000046B4 7000 moveq.l D0, 0x00
000046B6 1012 move.b D0, [A2]
000046B8 7201 moveq.l D1, 0x01
000046BA B081 cmp.l D0, D1
000046BC 6D30 blt +0x32 /* 000046EE */
000046BE 0C2A 002D 0001 cmpi.b [A2 + 0x1], 0x2D /* '-' */
000046C4 6628 bne +0x2A /* 000046EE */
000046C6 1612 move.b D3, [A2]
000046C8 7000 moveq.l D0, 0x00
000046CA 1003 move.b D0, D3
000046CC 0C80 0000 00FE cmpi.l D0, 0xFE
000046D2 6F04 ble +0x6 /* 000046D8 */
000046D4 163C 00FE move.b D3, 0xFE
label000046D8:
000046D8 41EA 0001 lea.l A0, [A2 + 0x1]
000046DC 43EA 0002 lea.l A1, [A2 + 0x2]
000046E0 7000 moveq.l D0, 0x00
000046E2 1003 move.b D0, D3
000046E4 A02E syscall BlockMove/BlockMoveData
000046E6 5212 addq.b [A2], 1
000046E8 157C 0020 0001 move.b [A2 + 0x1], 0x20 /* ' ' */
label000046EE:
000046EE 4CDF 0408 movem.l D3,A2, [A7]+
000046F2 4E75 rts
000046F4 4AAD 83BE tst.l [A5 - 0x7C42]
000046F8 670A beq +0xC /* 00004704 */
000046FA 206D 83BE movea.l A0, [A5 - 0x7C42]
000046FE A023 syscall DisposHandle/DisposeHandle
00004700 42AD 83BE clr.l [A5 - 0x7C42]
label00004704:
00004704 4E75 rts
fn00004706:
00004706 2F0A move.l -[A7], A2
00004708 6030 bra +0x32 /* 0000473A */
label0000470A:
0000470A 53AD 83B6 subq.l [A5 - 0x7C4A], 1
0000470E 202D 83B6 move.l D0, [A5 - 0x7C4A]
00004712 E588 lsl D0, 2
00004714 206D 83BE movea.l A0, [A5 - 0x7C42]
00004718 2250 movea.l A1, [A0]
0000471A 2471 0800 movea.l A2, [A1 + D0]
0000471E 200A move.l D0, A2
00004720 6718 beq +0x1A /* 0000473A */
00004722 4AAD 83B2 tst.l [A5 - 0x7C4E]
00004726 670A beq +0xC /* 00004732 */
00004728 B5ED 83A2 cmpa.l A2, [A5 - 0x7C5E]
0000472C 6604 bne +0x6 /* 00004732 */
0000472E 42AD 83B2 clr.l [A5 - 0x7C4E]
label00004732:
00004732 2F0A move.l -[A7], A2
00004734 4EAD E780 jsr [A5 - 0x1880]
00004738 584F addq.w A7, 4
label0000473A:
0000473A 4AAD 83B6 tst.l [A5 - 0x7C4A]
0000473E 6ECA bgt -0x34 /* 0000470A */
00004740 245F movea.l A2, [A7]+
00004742 4E75 rts
00004744 2F0B move.l -[A7], A3
00004746 266F 0008 movea.l A3, [A7 + 0x8]
0000474A B7ED 8396 cmpa.l A3, [A5 - 0x7C6A]
0000474E 6604 bne +0x6 /* 00004754 */
00004750 42AD 8396 clr.l [A5 - 0x7C6A]
label00004754:
00004754 4AAD 83B6 tst.l [A5 - 0x7C4A]
00004758 671A beq +0x1C /* 00004774 */
0000475A 206D 83BE movea.l A0, [A5 - 0x7C42]
0000475E 2250 movea.l A1, [A0]
00004760 7000 moveq.l D0, 0x00
00004762 600A bra +0xC /* 0000476E */
label00004764:
00004764 B7D1 cmpa.l A3, [A1]
00004766 6602 bne +0x4 /* 0000476A */
00004768 4291 clr.l [A1]
label0000476A:
0000476A 5280 addq.l D0, 1
0000476C 5889 addq.l A1, 4
label0000476E:
0000476E B0AD 83B6 cmp.l D0, [A5 - 0x7C4A]
00004772 6DF0 blt -0xE /* 00004764 */
label00004774:
00004774 265F movea.l A3, [A7]+
00004776 4E75 rts
fn00004778:
00004778 48E7 1030 movem.l -[A7], D3,A2,A3
0000477C 266F 0010 movea.l A3, [A7 + 0x10]
00004780 4AAD 83B6 tst.l [A5 - 0x7C4A]
00004784 6718 beq +0x1A /* 0000479E */
00004786 206D 83BE movea.l A0, [A5 - 0x7C42]
0000478A 2450 movea.l A2, [A0]
0000478C 7600 moveq.l D3, 0x00
0000478E 6008 bra +0xA /* 00004798 */
label00004790:
00004790 B7D2 cmpa.l A3, [A2]
00004792 6756 beq +0x58 /* 000047EA */
00004794 5283 addq.l D3, 1
00004796 588A addq.l A2, 4
label00004798:
00004798 B6AD 83B6 cmp.l D3, [A5 - 0x7C4A]
0000479C 6DF2 blt -0xC /* 00004790 */
label0000479E:
0000479E 202D 83B6 move.l D0, [A5 - 0x7C4A]
000047A2 5280 addq.l D0, 1
000047A4 B0AD 83BA cmp.l D0, [A5 - 0x7C46]
000047A8 6F2C ble +0x2E /* 000047D6 */
000047AA 4AAD 83BE tst.l [A5 - 0x7C42]
000047AE 6710 beq +0x12 /* 000047C0 */
000047B0 206D 83BE movea.l A0, [A5 - 0x7C42]
000047B4 202D 83BA move.l D0, [A5 - 0x7C46]
000047B8 5280 addq.l D0, 1
000047BA E588 lsl D0, 2
000047BC A024 syscall SetHandleSize
000047BE 6008 bra +0xA /* 000047C8 */
label000047C0:
000047C0 7004 moveq.l D0, 0x04
000047C2 A122 syscall NewHandle, flags=1
000047C4 2B48 83BE move.l [A5 - 0x7C42], A0
label000047C8:
000047C8 554F subq.w A7, 2
000047CA 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
000047CE 301F move.w D0, [A7]+
000047D0 6618 bne +0x1A /* 000047EA */
000047D2 52AD 83BA addq.l [A5 - 0x7C46], 1
label000047D6:
000047D6 202D 83B6 move.l D0, [A5 - 0x7C4A]
000047DA 52AD 83B6 addq.l [A5 - 0x7C4A], 1
000047DE E588 lsl D0, 2
000047E0 206D 83BE movea.l A0, [A5 - 0x7C42]
000047E4 2250 movea.l A1, [A0]
000047E6 238B 0800 move.l [A1 + D0], A3
label000047EA:
000047EA 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000047EE 2E9F move.l [A7], [A7]+
000047F0 4E75 rts
fn000047F2:
000047F2 7001 moveq.l D0, 0x01
000047F4 2B40 83CA move.l [A5 - 0x7C36], D0
000047F8 302F 0004 move.w D0, [A7 + 0x4]
000047FC 48C0 ext.l D0
000047FE 2B40 83C6 move.l [A5 - 0x7C3A], D0
00004802 205F movea.l A0, [A7]+
00004804 544F addq.w A7, 2
00004806 4ED0 jmp [A0]
00004808 7001 moveq.l D0, 0x01
0000480A 2B40 83B2 move.l [A5 - 0x7C4E], D0
0000480E 302F 000C move.w D0, [A7 + 0xC]
00004812 48C0 ext.l D0
00004814 2B40 83AE move.l [A5 - 0x7C52], D0
00004818 206F 0008 movea.l A0, [A7 + 0x8]
0000481C 2B50 83A6 move.l [A5 - 0x7C5A], [A0]
00004820 2B68 0004 83AA move.l [A5 - 0x7C56], [A0 + 0x4]
00004826 2B6F 0004 83A2 move.l [A5 - 0x7C5E], [A7 + 0x4]
0000482C 4E75 rts
0000482E 2F0A move.l -[A7], A2
00004830 4FEF FFF0 lea.l A7, [A7 - 0x10]
00004834 6044 bra +0x46 /* 0000487A */
label00004836:
00004836 42A7 clr.l -[A7]
00004838 42A7 clr.l -[A7]
0000483A 4EAD E480 jsr [A5 - 0x1B80]
0000483E 4AAD 132A tst.l [A5 + 0x132A /* export_609 */]
00004842 504F addq.w A7, 8
00004844 670E beq +0x10 /* 00004854 */
00004846 554F subq.w A7, 2
00004848 486F 0002 pea.l [A7 + 0x2]
0000484C 7004 moveq.l D0, 0x04
0000484E AA54 syscall TextServicesDispatch
00004850 101F move.b D0, [A7]+
00004852 6626 bne +0x28 /* 0000487A */
label00004854:
00004854 246F 0002 movea.l A2, [A7 + 0x2]
00004858 2F0A move.l -[A7], A2
0000485A 4EBA C8F2 jsr [PC - 0x370E /* 0000114E */]
0000485E 486A 0010 pea.l [A2 + 0x10]
00004862 4EBA C922 jsr [PC - 0x36DE /* 00001186 */]
00004866 486F 0008 pea.l [A7 + 0x8]
0000486A 4EBA 00DA jsr [PC + 0xDA /* 00004946 */]
0000486E 4EBA C94A jsr [PC - 0x36B6 /* 000011BA */]
00004872 4EBA C8FC jsr [PC - 0x3704 /* 00001170 */]
00004876 4FEF 000C lea.l A7, [A7 + 0xC]
label0000487A:
0000487A 42A7 clr.l -[A7]
0000487C 42A7 clr.l -[A7]
0000487E 486F 0008 pea.l [A7 + 0x8]
00004882 3F3C 0040 move.w -[A7], 0x40 /* '@' */
00004886 4EBA 0C86 jsr [PC + 0xC86 /* 0000550E */]
0000488A 4A80 tst.l D0
0000488C 4FEF 000E lea.l A7, [A7 + 0xE]
00004890 66A4 bne -0x5A /* 00004836 */
00004892 4FEF 0010 lea.l A7, [A7 + 0x10]
00004896 245F movea.l A2, [A7]+
00004898 4E75 rts
0000489A 2F0A move.l -[A7], A2
0000489C 4FEF FFF0 lea.l A7, [A7 - 0x10]
000048A0 604C bra +0x4E /* 000048EE */
label000048A2:
000048A2 42A7 clr.l -[A7]
000048A4 42A7 clr.l -[A7]
000048A6 4EAD E480 jsr [A5 - 0x1B80]
000048AA 4AAD 132A tst.l [A5 + 0x132A /* export_609 */]
000048AE 504F addq.w A7, 8
000048B0 670E beq +0x10 /* 000048C0 */
000048B2 554F subq.w A7, 2
000048B4 486F 0002 pea.l [A7 + 0x2]
000048B8 7004 moveq.l D0, 0x04
000048BA AA54 syscall TextServicesDispatch
000048BC 101F move.b D0, [A7]+
000048BE 662E bne +0x30 /* 000048EE */
label000048C0:
000048C0 246F 0002 movea.l A2, [A7 + 0x2]
000048C4 2F0A move.l -[A7], A2
000048C6 4EBA C886 jsr [PC - 0x377A /* 0000114E */]
000048CA 486A 0010 pea.l [A2 + 0x10]
000048CE 4EBA C8B6 jsr [PC - 0x374A /* 00001186 */]
000048D2 302F 0016 move.w D0, [A7 + 0x16]
000048D6 7201 moveq.l D1, 0x01
000048D8 C081 and.l D0, D1
000048DA 2F00 move.l -[A7], D0
000048DC 2F0A move.l -[A7], A2
000048DE 4EBA 00EE jsr [PC + 0xEE /* 000049CE */]
000048E2 4EBA C8D6 jsr [PC - 0x372A /* 000011BA */]
000048E6 4EBA C888 jsr [PC - 0x3778 /* 00001170 */]
000048EA 4FEF 0010 lea.l A7, [A7 + 0x10]
label000048EE:
000048EE 42A7 clr.l -[A7]
000048F0 42A7 clr.l -[A7]
000048F2 486F 0008 pea.l [A7 + 0x8]
000048F6 3F3C 0100 move.w -[A7], 0x100
000048FA 4EBA 0C12 jsr [PC + 0xC12 /* 0000550E */]
000048FE 4A80 tst.l D0
00004900 4FEF 000E lea.l A7, [A7 + 0xE]
00004904 669C bne -0x62 /* 000048A2 */
00004906 4FEF 0010 lea.l A7, [A7 + 0x10]
0000490A 245F movea.l A2, [A7]+
0000490C 4E75 rts
0000490E 206D 8396 movea.l A0, [A5 - 0x7C6A]
00004912 B1EF 0004 cmpa.l A0, [A7 + 0x4]
00004916 6726 beq +0x28 /* 0000493E */
00004918 4AAD 8396 tst.l [A5 - 0x7C6A]
0000491C 670C beq +0xE /* 0000492A */
0000491E 42A7 clr.l -[A7]
00004920 2F2D 8396 move.l -[A7], [A5 - 0x7C6A]
00004924 4EAD E7D0 jsr [A5 - 0x1830]
00004928 504F addq.w A7, 8
label0000492A:
0000492A 2B6F 0004 8396 move.l [A5 - 0x7C6A], [A7 + 0x4]
00004930 4878 0001 push.l 0x1
00004934 2F2D 8396 move.l -[A7], [A5 - 0x7C6A]
00004938 4EAD E7D0 jsr [A5 - 0x1830]
0000493C 504F addq.w A7, 8
label0000493E:
0000493E 4E75 rts
00004940 206D 8396 movea.l A0, [A5 - 0x7C6A]
00004944 4E75 rts
fn00004946:
00004946 48E7 1020 movem.l -[A7], D3,A2
0000494A 206F 000C movea.l A0, [A7 + 0xC]
0000494E 2468 0002 movea.l A2, [A0 + 0x2]
00004952 4EAD E968 jsr [A5 - 0x1698]
00004956 362A 006C move.w D3, [A2 + 0x6C]
0000495A B66D B416 cmp.w D3, [A5 - 0x4BEA]
0000495E 6608 bne +0xA /* 00004968 */
00004960 2F0A move.l -[A7], A2
00004962 4EAD E7A0 jsr [A5 - 0x1860]
00004966 584F addq.w A7, 4
label00004968:
00004968 2F0A move.l -[A7], A2
0000496A A922 syscall BeginUpdate
0000496C 7001 moveq.l D0, 0x01
0000496E 2B40 83D2 move.l [A5 - 0x7C2E], D0
00004972 B66D B416 cmp.w D3, [A5 - 0x4BEA]
00004976 6614 bne +0x16 /* 0000498C */
00004978 2F0A move.l -[A7], A2
0000497A 4EAD E7A8 jsr [A5 - 0x1858]
0000497E 42A7 clr.l -[A7]
00004980 2F0A move.l -[A7], A2
00004982 4EAD E7B0 jsr [A5 - 0x1850]
00004986 4FEF 000C lea.l A7, [A7 + 0xC]
0000498A 6010 bra +0x12 /* 0000499C */
label0000498C:
0000498C 3003 move.w D0, D3
0000498E 48C0 ext.l D0
00004990 0C80 0000 5052 cmpi.l D0, 0x5052 /* 'PR' */
00004996 6604 bne +0x6 /* 0000499C */
00004998 2F0A move.l -[A7], A2
0000499A A981 syscall DrawDialog
label0000499C:
0000499C 42AD 83D2 clr.l [A5 - 0x7C2E]
000049A0 2F0A move.l -[A7], A2
000049A2 A923 syscall EndUpdate
000049A4 4AAD 83B2 tst.l [A5 - 0x7C4E]
000049A8 671E beq +0x20 /* 000049C8 */
000049AA B5ED 83A2 cmpa.l A2, [A5 - 0x7C5E]
000049AE 6618 bne +0x1A /* 000049C8 */
000049B0 42AD 83B2 clr.l [A5 - 0x7C4E]
000049B4 2F2D 83AE move.l -[A7], [A5 - 0x7C52]
000049B8 486D 83A6 pea.l [A5 - 0x7C5A]
000049BC 2F2D 83A2 move.l -[A7], [A5 - 0x7C5E]
000049C0 4EAD E9F0 jsr [A5 - 0x1610]
000049C4 4FEF 000C lea.l A7, [A7 + 0xC]
label000049C8:
000049C8 4CDF 0408 movem.l D3,A2, [A7]+
000049CC 4E75 rts
fn000049CE:
000049CE 48E7 1030 movem.l -[A7], D3,A2,A3
000049D2 266F 0010 movea.l A3, [A7 + 0x10]
000049D6 262F 0014 move.l D3, [A7 + 0x14]
000049DA 302B 006C move.w D0, [A3 + 0x6C]
000049DE B06D B416 cmp.w D0, [A5 - 0x4BEA]
000049E2 663C bne +0x3E /* 00004A20 */
000049E4 4A83 tst.l D3
000049E6 6726 beq +0x28 /* 00004A0E */
000049E8 594F subq.w A7, 4
000049EA 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
000049EE 4E90 jsr [A0]
000049F0 205F movea.l A0, [A7]+
000049F2 2448 movea.l A2, A0
000049F4 2008 move.l D0, A0
000049F6 6716 beq +0x18 /* 00004A0E */
000049F8 302A 006C move.w D0, [A2 + 0x6C]
000049FC B06D B416 cmp.w D0, [A5 - 0x4BEA]
00004A00 660C bne +0xE /* 00004A0E */
00004A02 2F0A move.l -[A7], A2
00004A04 4EAD E848 jsr [A5 - 0x17B8]
00004A08 5300 subq.b D0, 1
00004A0A 584F addq.w A7, 4
00004A0C 6712 beq +0x14 /* 00004A20 */
label00004A0E:
00004A0E 2F0B move.l -[A7], A3
00004A10 4EAD E7B8 jsr [A5 - 0x1848]
00004A14 2F03 move.l -[A7], D3
00004A16 2F0B move.l -[A7], A3
00004A18 4EAD E7D8 jsr [A5 - 0x1828]
00004A1C 4FEF 000C lea.l A7, [A7 + 0xC]
label00004A20:
00004A20 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00004A24 4E75 rts
fn00004A26:
00004A26 554F subq.w A7, 2
00004A28 3EBC 0001 move.w [A7], 0x1
00004A2C 600A bra +0xC /* 00004A38 */
label00004A2E:
00004A2E 4857 pea.l [A7]
00004A30 42A7 clr.l -[A7]
00004A32 4EBA 0016 jsr [PC + 0x16 /* 00004A4A */]
00004A36 504F addq.w A7, 8
label00004A38:
00004A38 4AAD 83CA tst.l [A5 - 0x7C36]
00004A3C 67F0 beq -0xE /* 00004A2E */
00004A3E 42AD 83CA clr.l [A5 - 0x7C36]
00004A42 302D 83C8 move.w D0, [A5 - 0x7C38]
00004A46 544F addq.w A7, 2
00004A48 4E75 rts
fn00004A4A:
00004A4A 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00004A4E 4FEF FFF0 lea.l A7, [A7 - 0x10]
00004A52 286F 0024 movea.l A4, [A7 + 0x24]
00004A56 266F 0028 movea.l A3, [A7 + 0x28]
00004A5A 4AAD 83B6 tst.l [A5 - 0x7C4A]
00004A5E 671A beq +0x1C /* 00004A7A */
00004A60 594F subq.w A7, 4
00004A62 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00004A66 4E90 jsr [A0]
00004A68 205F movea.l A0, [A7]+
00004A6A 2448 movea.l A2, A0
00004A6C 302A 006C move.w D0, [A2 + 0x6C]
00004A70 B06D B418 cmp.w D0, [A5 - 0x4BE8]
00004A74 6704 beq +0x6 /* 00004A7A */
00004A76 4EBA FC8E jsr [PC - 0x372 /* 00004706 */]
label00004A7A:
00004A7A 4AAD 130A tst.l [A5 + 0x130A /* export_605 */]
00004A7E 660E bne +0x10 /* 00004A8E */
00004A80 203C 0000 8000 move.l D0, 0x8000
00004A86 A122 syscall NewHandle, flags=1
00004A88 2B48 130A move.l [A5 + 0x130A /* export_605 */], A0
00004A8C 6014 bra +0x16 /* 00004AA2 */
label00004A8E:
00004A8E 206D 130A movea.l A0, [A5 + 0x130A /* export_605 */]
00004A92 4A90 tst.l [A0]
00004A94 660C bne +0xE /* 00004AA2 */
00004A96 206D 130A movea.l A0, [A5 + 0x130A /* export_605 */]
00004A9A 203C 0000 8000 move.l D0, 0x8000
00004AA0 A027 syscall ReallocateHandle
label00004AA2:
00004AA2 4AAD 130A tst.l [A5 + 0x130A /* export_605 */]
00004AA6 670E beq +0x10 /* 00004AB6 */
00004AA8 206D 130A movea.l A0, [A5 + 0x130A /* export_605 */]
00004AAC 4A90 tst.l [A0]
00004AAE 6706 beq +0x8 /* 00004AB6 */
00004AB0 42AD 8392 clr.l [A5 - 0x7C6E]
00004AB4 6028 bra +0x2A /* 00004ADE */
label00004AB6:
00004AB6 4AAD 8392 tst.l [A5 - 0x7C6E]
00004ABA 6622 bne +0x24 /* 00004ADE */
00004ABC 4267 clr.w -[A7]
00004ABE 4EBA C934 jsr [PC - 0x36CC /* 000013F4 */]
00004AC2 554F subq.w A7, 2
00004AC4 302D 135E move.w D0, [A5 + 0x135E]
00004AC8 48C0 ext.l D0
00004ACA 0680 0000 00C9 addi.l D0, 0xC9
00004AD0 3F00 move.w -[A7], D0
00004AD2 42A7 clr.l -[A7]
00004AD4 A985 syscall Alert
00004AD6 301F move.w D0, [A7]+
00004AD8 7001 moveq.l D0, 0x01
00004ADA 2B40 8392 move.l [A5 - 0x7C6E], D0
label00004ADE:
00004ADE 200C move.l D0, A4
00004AE0 670E beq +0x10 /* 00004AF0 */
00004AE2 41D4 lea.l A0, [A4]
00004AE4 43D7 lea.l A1, [A7]
00004AE6 22D8 move.l [A1]+, [A0]+
00004AE8 22D8 move.l [A1]+, [A0]+
00004AEA 22D8 move.l [A1]+, [A0]+
00004AEC 22D8 move.l [A1]+, [A0]+
00004AEE 6016 bra +0x18 /* 00004B06 */
label00004AF0:
00004AF0 A9B4 syscall SystemTask
00004AF2 42A7 clr.l -[A7]
00004AF4 42A7 clr.l -[A7]
00004AF6 486F 0008 pea.l [A7 + 0x8]
00004AFA 3F3C FFFF move.w -[A7], 0xFFFF
00004AFE 4EBA 0A0E jsr [PC + 0xA0E /* 0000550E */]
00004B02 4FEF 000E lea.l A7, [A7 + 0xE]
label00004B06:
00004B06 42A7 clr.l -[A7]
00004B08 42A7 clr.l -[A7]
00004B0A 4EAD E480 jsr [A5 - 0x1B80]
00004B0E 4AAD 1316 tst.l [A5 + 0x1316]
00004B12 504F addq.w A7, 8
00004B14 6648 bne +0x4A /* 00004B5E */
00004B16 4AAD 1306 tst.l [A5 + 0x1306]
00004B1A 673A beq +0x3C /* 00004B56 */
00004B1C 206D 1306 movea.l A0, [A5 + 0x1306]
00004B20 2050 movea.l A0, [A0]
00004B22 4A68 0026 tst.w [A0 + 0x26]
00004B26 6736 beq +0x38 /* 00004B5E */
00004B28 95CA sub.l A2, A2
00004B2A 206D 1306 movea.l A0, [A5 + 0x1306]
00004B2E A029 syscall HLock
00004B30 206D 1306 movea.l A0, [A5 + 0x1306]
00004B34 2450 movea.l A2, [A0]
00004B36 426A 0026 clr.w [A2 + 0x26]
00004B3A 2F2A 0070 move.l -[A7], [A2 + 0x70]
00004B3E 3F2A 0074 move.w -[A7], [A2 + 0x74]
00004B42 486A 002A pea.l [A2 + 0x2A]
00004B46 4EBA 0278 jsr [PC + 0x278 /* 00004DC0 */]
00004B4A 206D 1306 movea.l A0, [A5 + 0x1306]
00004B4E A02A syscall HUnlock
00004B50 4FEF 000A lea.l A7, [A7 + 0xA]
00004B54 6008 bra +0xA /* 00004B5E */
label00004B56:
00004B56 4A57 tst.w [A7]
00004B58 6604 bne +0x6 /* 00004B5E */
00004B5A 4EBA 0CD4 jsr [PC + 0xCD4 /* 00005830 */]
label00004B5E:
00004B5E 4AAD 1312 tst.l [A5 + 0x1312 /* export_606 */]
00004B62 6606 bne +0x8 /* 00004B6A */
00004B64 4AAD 83CE tst.l [A5 - 0x7C32]
00004B68 6604 bne +0x6 /* 00004B6E */
label00004B6A:
00004B6A 4EAD E0C0 jsr [A5 - 0x1F40]
label00004B6E:
00004B6E 594F subq.w A7, 4
00004B70 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
00004B74 4E90 jsr [A0]
00004B76 205F movea.l A0, [A7]+
00004B78 2448 movea.l A2, A0
00004B7A B1ED 83C2 cmpa.l A0, [A5 - 0x7C3E]
00004B7E 6604 bne +0x6 /* 00004B84 */
00004B80 4A53 tst.w [A3]
00004B82 6768 beq +0x6A /* 00004BEC */
label00004B84:
00004B84 200A move.l D0, A2
00004B86 673E beq +0x40 /* 00004BC6 */
00004B88 302A 006C move.w D0, [A2 + 0x6C]
00004B8C B06D B416 cmp.w D0, [A5 - 0x4BEA]
00004B90 6640 bne +0x42 /* 00004BD2 */
00004B92 2F0A move.l -[A7], A2
00004B94 4EAD E848 jsr [A5 - 0x17B8]
00004B98 5300 subq.b D0, 1
00004B9A 584F addq.w A7, 4
00004B9C 6734 beq +0x36 /* 00004BD2 */
00004B9E 1F3C 0006 move.b -[A7], 0x6
00004BA2 2F0A move.l -[A7], A2
00004BA4 4EAD E818 jsr [A5 - 0x17E8]
00004BA8 3610 move.w D3, [A0]
00004BAA 3F3C 0001 move.w -[A7], 0x1
00004BAE 1F3C 0008 move.b -[A7], 0x8
00004BB2 3F03 move.w -[A7], D3
00004BB4 4EAD E708 jsr [A5 - 0x18F8]
00004BB8 584F addq.w A7, 4
00004BBA 2F08 move.l -[A7], A0
00004BBC 4EAD E0E8 jsr [A5 - 0x1F18]
00004BC0 4FEF 000C lea.l A7, [A7 + 0xC]
00004BC4 600C bra +0xE /* 00004BD2 */
label00004BC6:
00004BC6 3F3C 0001 move.w -[A7], 0x1
00004BCA 42A7 clr.l -[A7]
00004BCC 4EAD E0E8 jsr [A5 - 0x1F18]
00004BD0 5C4F addq.w A7, 6
label00004BD2:
00004BD2 2B4A 83C2 move.l [A5 - 0x7C3E], A2
00004BD6 2F2D 83C2 move.l -[A7], [A5 - 0x7C3E]
00004BDA 4EAD E0A8 jsr [A5 - 0x1F58]
00004BDE 4AAD ADBE tst.l [A5 - 0x5242]
00004BE2 584F addq.w A7, 4
00004BE4 6704 beq +0x6 /* 00004BEA */
00004BE6 4EAD F750 jsr [A5 - 0x8B0]
label00004BEA:
00004BEA 4253 clr.w [A3]
label00004BEC:
00004BEC 2F2F 000A move.l -[A7], [A7 + 0xA]
00004BF0 4EBA 07F2 jsr [PC + 0x7F2 /* 000053E4 */]
00004BF4 42AD 839E clr.l [A5 - 0x7C62]
00004BF8 4AAD 132A tst.l [A5 + 0x132A /* export_609 */]
00004BFC 584F addq.w A7, 4
00004BFE 6710 beq +0x12 /* 00004C10 */
00004C00 554F subq.w A7, 2
00004C02 486F 0002 pea.l [A7 + 0x2]
00004C06 7004 moveq.l D0, 0x04
00004C08 AA54 syscall TextServicesDispatch
00004C0A 101F move.b D0, [A7]+
00004C0C 6600 01A8 bne +0x1AA /* 00004DB6 */
label00004C10:
00004C10 554F subq.w A7, 2
00004C12 486F 0002 pea.l [A7 + 0x2]
00004C16 A97F syscall IsDialogEvent
00004C18 101F move.b D0, [A7]+
00004C1A 675A beq +0x5C /* 00004C76 */
00004C1C 0C57 000F cmpi.w [A7], 0xF
00004C20 56C0 sne D0
00004C22 4400 neg.b D0
00004C24 4880 ext.w D0
00004C26 48C0 ext.l D0
00004C28 2600 move.l D3, D0
00004C2A 7000 moveq.l D0, 0x00
00004C2C 3017 move.w D0, [A7]
00004C2E 5D80 subq.l D0, 6
00004C30 6706 beq +0x8 /* 00004C38 */
00004C32 5580 subq.l D0, 2
00004C34 6702 beq +0x4 /* 00004C38 */
00004C36 6024 bra +0x26 /* 00004C5C */
label00004C38:
00004C38 206F 0002 movea.l A0, [A7 + 0x2]
00004C3C 3028 006C move.w D0, [A0 + 0x6C]
00004C40 B06D B418 cmp.w D0, [A5 - 0x4BE8]
00004C44 662A bne +0x2C /* 00004C70 */
00004C46 3F3C 0001 move.w -[A7], 0x1
00004C4A 486F 0002 pea.l [A7 + 0x2]
00004C4E 2F2F 0008 move.l -[A7], [A7 + 0x8]
00004C52 4EBA DC0C jsr [PC - 0x23F4 /* 00002860 */]
00004C56 4FEF 000A lea.l A7, [A7 + 0xA]
00004C5A 6014 bra +0x16 /* 00004C70 */
label00004C5C:
00004C5C 3F3C 0001 move.w -[A7], 0x1
00004C60 486F 0002 pea.l [A7 + 0x2]
00004C64 2F2D 83C2 move.l -[A7], [A5 - 0x7C3E]
00004C68 4EBA DBF6 jsr [PC - 0x240A /* 00002860 */]
00004C6C 4FEF 000A lea.l A7, [A7 + 0xA]
label00004C70:
00004C70 4A83 tst.l D3
00004C72 6600 0142 bne +0x144 /* 00004DB6 */
label00004C76:
00004C76 7000 moveq.l D0, 0x00
00004C78 3017 move.w D0, [A7]
00004C7A 4EAD D916 jsr [A5 - 0x26EA]
00004C7E 0138 0000 btst [0x00000000 /* __m68k_reset_stack__ */], D0
00004C82 0000 0000 ori.b D0, 0x0
00004C86 0017 0007 ori.b [A7], 0x7
00004C8A 0000 0000 ori.b D0, 0x0
00004C8E 002C 0000 0001 ori.b [A4 + 0x1], 0x0
00004C94 00FA 0000 ori.? [PC /* 00004C96 */], 0xFFFFFFFFFFFFFFFF
00004C98 0003 0106 ori.b D3, 0x6
00004C9C 0000 0005 ori.b D0, 0x5
00004CA0 00F8 0000 ori.? [0x00000000 /* __m68k_reset_stack__ */], 0xFFFFFFFFFFFFFFFF
00004CA4 0006 002E ori.b D6, 0x2E /* '.' */
00004CA8 0000 0008 ori.b D0, 0x8
00004CAC 0038 0000 000F ori.b [0x0000000F], 0x0
00004CB2 0056 0000 ori.w [A6], 0x0
00004CB6 0017 00C6 ori.b [A7], 0xC6
00004CBA 7001 moveq.l D0, 0x01
00004CBC 2B40 839E move.l [A5 - 0x7C62], D0
00004CC0 2B6F 000A 839A move.l [A5 - 0x7C66], [A7 + 0xA]
00004CC6 2F2D 83C2 move.l -[A7], [A5 - 0x7C3E]
00004CCA 4EBA 07F6 jsr [PC + 0x7F6 /* 000054C2 */]
00004CCE 584F addq.w A7, 4
00004CD0 6000 00E4 bra +0xE6 /* 00004DB6 */
00004CD4 4EBA 08CE jsr [PC + 0x8CE /* 000055A4 */]
00004CD8 4857 pea.l [A7]
00004CDA 4EBA FC6A jsr [PC - 0x396 /* 00004946 */]
00004CDE 584F addq.w A7, 4
00004CE0 6000 00D4 bra +0xD6 /* 00004DB6 */
00004CE4 4EBA 08BE jsr [PC + 0x8BE /* 000055A4 */]
00004CE8 302F 000E move.w D0, [A7 + 0xE]
00004CEC 7201 moveq.l D1, 0x01
00004CEE C081 and.l D0, D1
00004CF0 56C0 sne D0
00004CF2 4400 neg.b D0
00004CF4 4880 ext.w D0
00004CF6 48C0 ext.l D0
00004CF8 2F00 move.l -[A7], D0
00004CFA 2F2F 0006 move.l -[A7], [A7 + 0x6]
00004CFE 4EBA FCCE jsr [PC - 0x332 /* 000049CE */]
00004D02 504F addq.w A7, 8
00004D04 6000 00B0 bra +0xB2 /* 00004DB6 */
00004D08 202F 0002 move.l D0, [A7 + 0x2]
00004D0C 0280 FF00 0000 andi.l D0, 0xFF000000
00004D12 7218 moveq.l D1, 0x18
00004D14 E2A8 lsr D0, D1
00004D16 5380 subq.l D0, 1
00004D18 6600 009C bne +0x9E /* 00004DB6 */
00004D1C 7001 moveq.l D0, 0x01
00004D1E C0AF 0002 and.l D0, [A7 + 0x2]
00004D22 57C0 seq D0
00004D24 4400 neg.b D0
00004D26 4880 ext.w D0
00004D28 48C0 ext.l D0
00004D2A 2B40 83CE move.l [A5 - 0x7C32], D0
00004D2E 4EBA C6BC jsr [PC - 0x3944 /* 000013EC */]
00004D32 4AAD 83C2 tst.l [A5 - 0x7C3E]
00004D36 6738 beq +0x3A /* 00004D70 */
00004D38 7001 moveq.l D0, 0x01
00004D3A C0AF 0002 and.l D0, [A7 + 0x2]
00004D3E 56C0 sne D0
00004D40 4400 neg.b D0
00004D42 4880 ext.w D0
00004D44 48C0 ext.l D0
00004D46 2F00 move.l -[A7], D0
00004D48 2F2D 83C2 move.l -[A7], [A5 - 0x7C3E]
00004D4C 4EBA 0B28 jsr [PC + 0xB28 /* 00005876 */]
00004D50 2448 movea.l A2, A0
00004D52 2008 move.l D0, A0
00004D54 504F addq.w A7, 8
00004D56 6718 beq +0x1A /* 00004D70 */
00004D58 7001 moveq.l D0, 0x01
00004D5A C0AF 0002 and.l D0, [A7 + 0x2]
00004D5E 56C0 sne D0
00004D60 4400 neg.b D0
00004D62 4880 ext.w D0
00004D64 48C0 ext.l D0
00004D66 2F00 move.l -[A7], D0
00004D68 2F0A move.l -[A7], A2
00004D6A 4EBA FC62 jsr [PC - 0x39E /* 000049CE */]
00004D6E 504F addq.w A7, 8
label00004D70:
00004D70 42A7 clr.l -[A7]
00004D72 21DF 0A64 move.l [0x00000A64 /* CurActivate */], [A7]+
00004D76 42A7 clr.l -[A7]
00004D78 21DF 0A68 move.l [0x00000A68 /* CurDeactive */], [A7]+
00004D7C 6038 bra +0x3A /* 00004DB6 */
00004D7E 554F subq.w A7, 2
00004D80 486F 0002 pea.l [A7 + 0x2]
00004D84 303C 021B move.w D0, 0x21B
00004D88 A816 syscall Pack8
00004D8A 301F move.w D0, [A7]+
00004D8C 6028 bra +0x2A /* 00004DB6 */
00004D8E 4857 pea.l [A7]
00004D90 4EBA 0324 jsr [PC + 0x324 /* 000050B6 */]
00004D94 584F addq.w A7, 4
00004D96 601E bra +0x20 /* 00004DB6 */
00004D98 082F 0000 000E btst.b [A7 + 0xE], 0x0
00004D9E 6616 bne +0x18 /* 00004DB6 */
00004DA0 4857 pea.l [A7]
00004DA2 594F subq.w A7, 4
00004DA4 A924 syscall FrontWindow
00004DA6 205F movea.l A0, [A7]+
00004DA8 2F08 move.l -[A7], A0
00004DAA 2F2D 83C2 move.l -[A7], [A5 - 0x7C3E]
00004DAE 4EBA 050A jsr [PC + 0x50A /* 000052BA */]
00004DB2 4FEF 000C lea.l A7, [A7 + 0xC]
label00004DB6:
00004DB6 4FEF 0010 lea.l A7, [A7 + 0x10]
00004DBA 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00004DBE 4E75 rts
fn00004DC0:
00004DC0 4FEF FFB4 lea.l A7, [A7 - 0x4C]
00004DC4 4AAD B2D8 tst.l [A5 - 0x4D28]
00004DC8 6670 bne +0x72 /* 00004E3A */
00004DCA 206F 0050 movea.l A0, [A7 + 0x50]
00004DCE 43EF 0006 lea.l A1, [A7 + 0x6]
00004DD2 7010 moveq.l D0, 0x10
label00004DD4:
00004DD4 22D8 move.l [A1]+, [A0]+
00004DD6 51C8 FFFC dbf D0, -0x6 /* 00004DD4 */
00004DDA 32D8 move.w [A1]+, [A0]+
00004DDC 4AAD 1326 tst.l [A5 + 0x1326]
00004DE0 671A beq +0x1C /* 00004DFC */
00004DE2 554F subq.w A7, 2
00004DE4 486F 0008 pea.l [A7 + 0x8]
00004DE8 1F3C 0001 move.b -[A7], 0x1
00004DEC 486F 000D pea.l [A7 + 0xD]
00004DF0 486F 0010 pea.l [A7 + 0x10]
00004DF4 700C moveq.l D0, 0x0C
00004DF6 A823 syscall AliasDispatch
00004DF8 301F move.w D0, [A7]+
00004DFA 663E bne +0x40 /* 00004E3A */
label00004DFC:
00004DFC 42A7 clr.l -[A7]
00004DFE 42A7 clr.l -[A7]
00004E00 4878 0001 push.l 0x1
00004E04 42A7 clr.l -[A7]
00004E06 486F 0016 pea.l [A7 + 0x16]
00004E0A 4EAD E330 jsr [A5 - 0x1CD0]
00004E0E 2F48 0014 move.l [A7 + 0x14], A0
00004E12 2008 move.l D0, A0
00004E14 4FEF 0014 lea.l A7, [A7 + 0x14]
00004E18 6608 bne +0xA /* 00004E22 */
00004E1A 0C6F 0002 0054 cmpi.w [A7 + 0x54], 0x2
00004E20 6618 bne +0x1A /* 00004E3A */
label00004E22:
00004E22 2F2F 0056 move.l -[A7], [A7 + 0x56]
00004E26 302F 0058 move.w D0, [A7 + 0x58]
00004E2A 48C0 ext.l D0
00004E2C 2F00 move.l -[A7], D0
00004E2E 2F2F 0008 move.l -[A7], [A7 + 0x8]
00004E32 4EAD E888 jsr [A5 - 0x1778]
00004E36 4FEF 000C lea.l A7, [A7 + 0xC]
label00004E3A:
00004E3A 4FEF 004C lea.l A7, [A7 + 0x4C]
00004E3E 4E75 rts
fn00004E40:
00004E40 48E7 1038 movem.l -[A7], D3,A2,A3,A4
00004E44 4FEF FDEA lea.l A7, [A7 - 0x216]
00004E48 286F 022A movea.l A4, [A7 + 0x22A]
00004E4C 7600 moveq.l D3, 0x00
00004E4E 302F 0230 move.w D0, [A7 + 0x230]
00004E52 0280 0000 0300 andi.l D0, 0x300
00004E58 0C80 0000 0300 cmpi.l D0, 0x300
00004E5E 670C beq +0xE /* 00004E6C */
00004E60 7000 moveq.l D0, 0x00
00004E62 4FEF 0216 lea.l A7, [A7 + 0x216]
00004E66 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00004E6A 4E75 rts
label00004E6C:
00004E6C 266C 008C movea.l A3, [A4 + 0x8C]
00004E70 1F7C 0001 0004 move.b [A7 + 0x4], 0x1
00004E76 1F6F 022E 0005 move.b [A7 + 0x5], [A7 + 0x22E]
00004E7C 486F 0004 pea.l [A7 + 0x4]
00004E80 4227 clr.b -[A7]
00004E82 4EAD D9C4 jsr [A5 - 0x263C]
00004E86 6000 00A2 bra +0xA4 /* 00004F2A */
label00004E8A:
00004E8A 2F0B move.l -[A7], A3
00004E8C 486F 010A pea.l [A7 + 0x10A]
00004E90 A95E syscall GetControlTitle/GetCTitle
00004E92 486F 0106 pea.l [A7 + 0x106]
00004E96 4227 clr.b -[A7]
00004E98 4EAD D9C4 jsr [A5 - 0x263C]
00004E9C 2453 movea.l A2, [A3]
00004E9E 4A2A 0010 tst.b [A2 + 0x10]
00004EA2 6700 0084 beq +0x86 /* 00004F28 */
00004EA6 4A2A 0011 tst.b [A2 + 0x11]
00004EAA 667C bne +0x7E /* 00004F28 */
00004EAC 4A2F 0106 tst.b [A7 + 0x106]
00004EB0 6776 beq +0x78 /* 00004F28 */
00004EB2 102F 0107 move.b D0, [A7 + 0x107]
00004EB6 B02F 0005 cmp.b D0, [A7 + 0x5]
00004EBA 666C bne +0x6E /* 00004F28 */
00004EBC 426F 0104 clr.w [A7 + 0x104]
00004EC0 2F0B move.l -[A7], A3
00004EC2 3F3C 000A move.w -[A7], 0xA /* '\n' */
00004EC6 A95D syscall HiliteControl
00004EC8 207C 0000 000A movea.l A0, 0xA /* '\n' */
00004ECE 43D7 lea.l A1, [A7]
00004ED0 A03B syscall Delay
00004ED2 2280 move.l [A1], D0
00004ED4 3F7C 0001 0206 move.w [A7 + 0x206], 0x1
00004EDA 594F subq.w A7, 4
00004EDC A975 syscall TickCount
00004EDE 201F move.l D0, [A7]+
00004EE0 2F40 020C move.l [A7 + 0x20C], D0
00004EE4 2F4C 0208 move.l [A7 + 0x208], A4
00004EE8 302A 000A move.w D0, [A2 + 0xA]
00004EEC 48C0 ext.l D0
00004EEE 5480 addq.l D0, 2
00004EF0 3F40 0212 move.w [A7 + 0x212], D0
00004EF4 302A 0008 move.w D0, [A2 + 0x8]
00004EF8 48C0 ext.l D0
00004EFA 5480 addq.l D0, 2
00004EFC 3F40 0210 move.w [A7 + 0x210], D0
00004F00 426F 0214 clr.w [A7 + 0x214]
00004F04 2F0C move.l -[A7], A4
00004F06 4EBA C246 jsr [PC - 0x3DBA /* 0000114E */]
00004F0A 486F 0214 pea.l [A7 + 0x214]
00004F0E A870 syscall LocalToGlobal
00004F10 4EBA C25E jsr [PC - 0x3DA2 /* 00001170 */]
00004F14 486F 0108 pea.l [A7 + 0x108]
00004F18 486F 020E pea.l [A7 + 0x20E]
00004F1C 4EBA FB2C jsr [PC - 0x4D4 /* 00004A4A */]
00004F20 7601 moveq.l D3, 0x01
00004F22 4FEF 000C lea.l A7, [A7 + 0xC]
00004F26 6008 bra +0xA /* 00004F30 */
label00004F28:
00004F28 2652 movea.l A3, [A2]
label00004F2A:
00004F2A 200B move.l D0, A3
00004F2C 6600 FF5C bne -0xA2 /* 00004E8A */
label00004F30:
00004F30 3003 move.w D0, D3
00004F32 4FEF 0216 lea.l A7, [A7 + 0x216]
00004F36 4CDF 1C08 movem.l D3,A2,A3,A4, [A7]+
00004F3A 4E75 rts
00004F3C 48E7 1020 movem.l -[A7], D3,A2
00004F40 246F 0014 movea.l A2, [A7 + 0x14]
00004F44 262F 000C move.l D3, [A7 + 0xC]
00004F48 0C83 6F61 7070 cmpi.l D3, 0x6F617070 /* 'oapp' */
00004F4E 661C bne +0x1E /* 00004F6C */
00004F50 42AD 83CE clr.l [A5 - 0x7C32]
00004F54 4EBA 00B8 jsr [PC + 0xB8 /* 0000500E */]
00004F58 4EBA 09E0 jsr [PC + 0x9E0 /* 0000593A */]
00004F5C 2F0A move.l -[A7], A2
00004F5E 4EBA 068A jsr [PC + 0x68A /* 000055EA */]
00004F62 3F40 001C move.w [A7 + 0x1C], D0
00004F66 584F addq.w A7, 4
00004F68 6000 0098 bra +0x9A /* 00005002 */
label00004F6C:
00004F6C 0C83 7175 6974 cmpi.l D3, 0x71756974 /* 'quit' */
00004F72 662E bne +0x30 /* 00004FA2 */
00004F74 2F0A move.l -[A7], A2
00004F76 4EBA 0672 jsr [PC + 0x672 /* 000055EA */]
00004F7A 3600 move.w D3, D0
00004F7C 584F addq.w A7, 4
00004F7E 6706 beq +0x8 /* 00004F86 */
00004F80 3F43 0018 move.w [A7 + 0x18], D3
00004F84 607C bra +0x7E /* 00005002 */
label00004F86:
00004F86 4EBA 0638 jsr [PC + 0x638 /* 000055C0 */]
00004F8A 4A80 tst.l D0
00004F8C 6708 beq +0xA /* 00004F96 */
00004F8E 3F7C FF80 0018 move.w [A7 + 0x18], 0xFF80
00004F94 606C bra +0x6E /* 00005002 */
label00004F96:
00004F96 4267 clr.w -[A7]
00004F98 4EBA F858 jsr [PC - 0x7A8 /* 000047F2 */]
00004F9C 426F 0018 clr.w [A7 + 0x18]
00004FA0 6060 bra +0x62 /* 00005002 */
label00004FA2:
00004FA2 0C83 6F64 6F63 cmpi.l D3, 0x6F646F63 /* 'odoc' */
00004FA8 6708 beq +0xA /* 00004FB2 */
00004FAA 0C83 7064 6F63 cmpi.l D3, 0x70646F63 /* 'pdoc' */
00004FB0 662E bne +0x30 /* 00004FE0 */
label00004FB2:
00004FB2 42AD 83CE clr.l [A5 - 0x7C32]
00004FB6 4EBA 0608 jsr [PC + 0x608 /* 000055C0 */]
00004FBA 4A80 tst.l D0
00004FBC 661A bne +0x1C /* 00004FD8 */
00004FBE 0C83 7064 6F63 cmpi.l D3, 0x70646F63 /* 'pdoc' */
00004FC4 57C0 seq D0
00004FC6 4400 neg.b D0
00004FC8 4880 ext.w D0
00004FCA 48C0 ext.l D0
00004FCC 2F00 move.l -[A7], D0
00004FCE 2F0A move.l -[A7], A2
00004FD0 4EBA 0662 jsr [PC + 0x662 /* 00005634 */]
00004FD4 504F addq.w A7, 8
00004FD6 6002 bra +0x4 /* 00004FDA */
label00004FD8:
00004FD8 7080 moveq.l D0, 0xFFFFFF80
label00004FDA:
00004FDA 3F40 0018 move.w [A7 + 0x18], D0
00004FDE 6022 bra +0x24 /* 00005002 */
label00004FE0:
00004FE0 0C83 414C 5448 cmpi.l D3, 0x414C5448 /* 'ALTH' */
00004FE6 661A bne +0x1C /* 00005002 */
00004FE8 4EBA 05D6 jsr [PC + 0x5D6 /* 000055C0 */]
00004FEC 4A80 tst.l D0
00004FEE 660A bne +0xC /* 00004FFA */
00004FF0 2F0A move.l -[A7], A2
00004FF2 4EBA 0766 jsr [PC + 0x766 /* 0000575A */]
00004FF6 584F addq.w A7, 4
00004FF8 6002 bra +0x4 /* 00004FFC */
label00004FFA:
00004FFA 7080 moveq.l D0, 0xFFFFFF80
label00004FFC:
00004FFC 3F40 0018 move.w [A7 + 0x18], D0
00005000 4E71 nop
label00005002:
00005002 4CDF 0408 movem.l D3,A2, [A7]+
00005006 205F movea.l A0, [A7]+
00005008 4FEF 000C lea.l A7, [A7 + 0xC]
0000500C 4ED0 jmp [A0]
fn0000500E:
0000500E 4FEF FF68 lea.l A7, [A7 - 0x98]
00005012 554F subq.w A7, 2
00005014 2F3C 5354 5254 move.l -[A7], 0x53545254 /* 'STRT' */
0000501A A80D syscall Count1Resources
0000501C 301F move.w D0, [A7]+
0000501E 6700 0090 beq +0x92 /* 000050B0 */
00005022 41ED 8342 lea.l A0, [A5 - 0x7CBE]
00005026 43EF 0048 lea.l A1, [A7 + 0x48]
0000502A 7013 moveq.l D0, 0x13
label0000502C:
0000502C 22D8 move.l [A1]+, [A0]+
0000502E 51C8 FFFC dbf D0, -0x6 /* 0000502C */
00005032 3F6D 8A28 0002 move.w [A7 + 0x2], [A5 - 0x75D8]
00005038 2F6D 8A22 0004 move.l [A7 + 0x4], [A5 - 0x75DE]
0000503E 41EF 0002 lea.l A0, [A7 + 0x2]
00005042 5C88 addq.l A0, 6
00005044 2F48 005A move.l [A7 + 0x5A], A0
label00005048:
00005048 3F6D 8A28 005E move.w [A7 + 0x5E], [A5 - 0x75D8]
0000504E 2F6D 8A22 0078 move.l [A7 + 0x78], [A5 - 0x75DE]
00005054 526F 0064 addq.w [A7 + 0x64], 1
00005058 41EF 0048 lea.l A0, [A7 + 0x48]
0000505C A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
0000505E 4A40 tst.w D0
00005060 664E bne +0x50 /* 000050B0 */
00005062 0CAF 414C 5448 0068 cmpi.l [A7 + 0x68], 0x414C5448 /* 'ALTH' */
0000506A 670A beq +0xC /* 00005076 */
0000506C 0CAF 414C 5456 0068 cmpi.l [A7 + 0x68], 0x414C5456 /* 'ALTV' */
00005074 66D2 bne -0x2C /* 00005048 */
label00005076:
00005076 4AAD 1326 tst.l [A5 + 0x1326]
0000507A 671A beq +0x1C /* 00005096 */
0000507C 554F subq.w A7, 2
0000507E 486F 0004 pea.l [A7 + 0x4]
00005082 1F3C 0001 move.b -[A7], 0x1
00005086 486F 0009 pea.l [A7 + 0x9]
0000508A 486F 000C pea.l [A7 + 0xC]
0000508E 700C moveq.l D0, 0x0C
00005090 A823 syscall AliasDispatch
00005092 301F move.w D0, [A7]+
00005094 66B2 bne -0x4C /* 00005048 */
label00005096:
00005096 42A7 clr.l -[A7]
00005098 42A7 clr.l -[A7]
0000509A 4878 0001 push.l 0x1
0000509E 4878 0001 push.l 0x1
000050A2 486F 0012 pea.l [A7 + 0x12]
000050A6 4EAD E330 jsr [A5 - 0x1CD0]
000050AA 4FEF 00AC lea.l A7, [A7 + 0xAC]
000050AE 4E75 rts
label000050B0:
000050B0 4FEF 0098 lea.l A7, [A7 + 0x98]
000050B4 4E75 rts
fn000050B6:
000050B6 48E7 1C30 movem.l -[A7], D3,D4,D5,A2,A3
000050BA 4FEF FFF4 lea.l A7, [A7 - 0xC]
000050BE 266F 0024 movea.l A3, [A7 + 0x24]
000050C2 594F subq.w A7, 4
000050C4 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
000050C8 4E90 jsr [A0]
000050CA 205F movea.l A0, [A7]+
000050CC 2448 movea.l A2, A0
000050CE 2F48 0008 move.l [A7 + 0x8], A0
000050D2 2008 move.l D0, A0
000050D4 6732 beq +0x34 /* 00005108 */
000050D6 302A 006C move.w D0, [A2 + 0x6C]
000050DA B06D B418 cmp.w D0, [A5 - 0x4BE8]
000050DE 57C0 seq D0
000050E0 4400 neg.b D0
000050E2 4880 ext.w D0
000050E4 48C0 ext.l D0
000050E6 2800 move.l D4, D0
000050E8 302A 006C move.w D0, [A2 + 0x6C]
000050EC B06D B416 cmp.w D0, [A5 - 0x4BEA]
000050F0 660C bne +0xE /* 000050FE */
000050F2 2F0A move.l -[A7], A2
000050F4 4EAD E848 jsr [A5 - 0x17B8]
000050F8 5300 subq.b D0, 1
000050FA 584F addq.w A7, 4
000050FC 6704 beq +0x6 /* 00005102 */
label000050FE:
000050FE 7000 moveq.l D0, 0x00
00005100 6002 bra +0x4 /* 00005104 */
label00005102:
00005102 7001 moveq.l D0, 0x01
label00005104:
00005104 2600 move.l D3, D0
00005106 6004 bra +0x6 /* 0000510C */
label00005108:
00005108 7600 moveq.l D3, 0x00
0000510A 2803 move.l D4, D3
label0000510C:
0000510C 554F subq.w A7, 2
0000510E 2F2B 000A move.l -[A7], [A3 + 0xA]
00005112 486F 000E pea.l [A7 + 0xE]
00005116 A92C syscall FindWindow
00005118 301F move.w D0, [A7]+
0000511A 3A00 move.w D5, D0
0000511C 48C0 ext.l D0
0000511E 0C80 0000 0008 cmpi.l D0, 0x8
00005124 6200 018A bhi +0x18C /* 000052B0 */
00005128 D040 add.w D0, D0
0000512A 303B 0006 move.w D0, [PC + D0.w + 0x6]
0000512E 4EFB 0002 jmp [PC + D0.w + 0x2]
00005132 017E bchg <<invalid special address>>, D0
00005134 0012 0048 ori.b [A2], 0x48 /* 'H' */
00005138 00EC 0054 ori.? [A4 + 0x54], 0xFFFFFFFFFFFFFFFF
0000513C 0132 00B8 btst [A2 + D0.w - 0x72], D0
00005140 0154 bchg [A4], D0
00005142 0154 bchg [A4], D0
00005144 4267 clr.w -[A7]
00005146 4EBA C2AC jsr [PC - 0x3D54 /* 000013F4 */]
0000514A 2F0A move.l -[A7], A2
0000514C 4EAD E0A8 jsr [A5 - 0x1F58]
00005150 3F2B 000E move.w -[A7], [A3 + 0xE]
00005154 594F subq.w A7, 4
00005156 2F2B 000A move.l -[A7], [A3 + 0xA]
0000515A A93D syscall MenuSelect
0000515C 201F move.l D0, [A7]+
0000515E 2F00 move.l -[A7], D0
00005160 2F0A move.l -[A7], A2
00005162 42A7 clr.l -[A7]
00005164 4EAD E108 jsr [A5 - 0x1EF8]
00005168 4FEF 000C lea.l A7, [A7 + 0xC]
0000516C 2F00 move.l -[A7], D0
0000516E 4EAD E338 jsr [A5 - 0x1CC8]
00005172 4FEF 000A lea.l A7, [A7 + 0xA]
00005176 6000 0138 bra +0x13A /* 000052B0 */
0000517A 2F0B move.l -[A7], A3
0000517C 2F2F 000C move.l -[A7], [A7 + 0xC]
00005180 A9B3 syscall SystemClick
00005182 6000 012C bra +0x12E /* 000052B0 */
00005186 594F subq.w A7, 4
00005188 2EB8 09EE move.l [A7], [0x000009EE /* GrayRgn */]
0000518C 205F movea.l A0, [A7]+
0000518E 2050 movea.l A0, [A0]
00005190 2EA8 0002 move.l [A7], [A0 + 0x2]
00005194 2F68 0006 0004 move.l [A7 + 0x4], [A0 + 0x6]
0000519A 4A83 tst.l D3
0000519C 671C beq +0x1E /* 000051BA */
0000519E 2F2F 0008 move.l -[A7], [A7 + 0x8]
000051A2 4EAD E990 jsr [A5 - 0x1670]
000051A6 B5EF 000C cmpa.l A2, [A7 + 0xC]
000051AA 584F addq.w A7, 4
000051AC 6600 0102 bne +0x104 /* 000052B0 */
000051B0 2F0A move.l -[A7], A2
000051B2 4EBA F5C4 jsr [PC - 0xA3C /* 00004778 */]
000051B6 6000 00F8 bra +0xFA /* 000052B0 */
label000051BA:
000051BA 4A84 tst.l D4
000051BC 6710 beq +0x12 /* 000051CE */
000051BE B5EF 0008 cmpa.l A2, [A7 + 0x8]
000051C2 670A beq +0xC /* 000051CE */
000051C4 3F3C 000A move.w -[A7], 0xA /* '\n' */
000051C8 A9C8 syscall SysBeep
000051CA 6000 00E4 bra +0xE6 /* 000052B0 */
label000051CE:
000051CE 4267 clr.w -[A7]
000051D0 4EBA C222 jsr [PC - 0x3DDE /* 000013F4 */]
000051D4 2F2F 0008 move.l -[A7], [A7 + 0x8]
000051D8 2F2B 000A move.l -[A7], [A3 + 0xA]
000051DC 486F 0008 pea.l [A7 + 0x8]
000051E0 206D 1352 movea.l A0, [A5 + 0x1352 /* export_614 */]
000051E4 4E90 jsr [A0]
000051E6 6000 00C8 bra +0xCA /* 000052B0 */
000051EA 4A83 tst.l D3
000051EC 670A beq +0xC /* 000051F8 */
000051EE 2F0A move.l -[A7], A2
000051F0 4EBA F586 jsr [PC - 0xA7A /* 00004778 */]
000051F4 6000 00BA bra +0xBC /* 000052B0 */
label000051F8:
000051F8 4267 clr.w -[A7]
000051FA 4EBA C1F8 jsr [PC - 0x3E08 /* 000013F4 */]
000051FE 554F subq.w A7, 2
00005200 2F2F 000A move.l -[A7], [A7 + 0xA]
00005204 2F2B 000A move.l -[A7], [A3 + 0xA]
00005208 A91E syscall TrackGoAway
0000520A 101F move.b D0, [A7]+
0000520C 6700 00A2 beq +0xA4 /* 000052B0 */
00005210 2F2F 0008 move.l -[A7], [A7 + 0x8]
00005214 4EAD E780 jsr [A5 - 0x1880]
00005218 584F addq.w A7, 4
0000521A 6000 0094 bra +0x96 /* 000052B0 */
0000521E 4A83 tst.l D3
00005220 661C bne +0x1E /* 0000523E */
00005222 B5EF 0008 cmpa.l A2, [A7 + 0x8]
00005226 6716 beq +0x18 /* 0000523E */
00005228 4A84 tst.l D4
0000522A 6708 beq +0xA /* 00005234 */
0000522C 3F3C 000A move.w -[A7], 0xA /* '\n' */
00005230 A9C8 syscall SysBeep
00005232 607C bra +0x7E /* 000052B0 */
label00005234:
00005234 2F2F 0008 move.l -[A7], [A7 + 0x8]
00005238 206D 133A movea.l A0, [A5 + 0x133A /* export_611 */]
0000523C 4E90 jsr [A0]
label0000523E:
0000523E 4A84 tst.l D4
00005240 666E bne +0x70 /* 000052B0 */
00005242 4A83 tst.l D3
00005244 6710 beq +0x12 /* 00005256 */
00005246 2F2F 0008 move.l -[A7], [A7 + 0x8]
0000524A 4EAD E990 jsr [A5 - 0x1670]
0000524E B5EF 000C cmpa.l A2, [A7 + 0xC]
00005252 584F addq.w A7, 4
00005254 665A bne +0x5C /* 000052B0 */
label00005256:
00005256 2F0B move.l -[A7], A3
00005258 2F2F 000C move.l -[A7], [A7 + 0xC]
0000525C 4EAD E7C0 jsr [A5 - 0x1840]
00005260 504F addq.w A7, 8
00005262 604C bra +0x4E /* 000052B0 */
00005264 4A83 tst.l D3
00005266 6708 beq +0xA /* 00005270 */
00005268 2F0A move.l -[A7], A2
0000526A 4EBA F50C jsr [PC - 0xAF4 /* 00004778 */]
0000526E 6040 bra +0x42 /* 000052B0 */
label00005270:
00005270 4267 clr.w -[A7]
00005272 4EBA C180 jsr [PC - 0x3E80 /* 000013F4 */]
00005276 2F2B 000A move.l -[A7], [A3 + 0xA]
0000527A 2F2F 000C move.l -[A7], [A7 + 0xC]
0000527E 4EAD E7E8 jsr [A5 - 0x1818]
00005282 504F addq.w A7, 8
00005284 602A bra +0x2C /* 000052B0 */
00005286 4A83 tst.l D3
00005288 6708 beq +0xA /* 00005292 */
0000528A 2F0A move.l -[A7], A2
0000528C 4EBA F4EA jsr [PC - 0xB16 /* 00004778 */]
00005290 601E bra +0x20 /* 000052B0 */
label00005292:
00005292 554F subq.w A7, 2
00005294 2F2F 000A move.l -[A7], [A7 + 0xA]
00005298 2F2B 000A move.l -[A7], [A3 + 0xA]
0000529C 3F05 move.w -[A7], D5
0000529E A83B syscall TrackBox
000052A0 101F move.b D0, [A7]+
000052A2 670C beq +0xE /* 000052B0 */
000052A4 3F05 move.w -[A7], D5
000052A6 2F2F 000A move.l -[A7], [A7 + 0xA]
000052AA 4EAD E7F0 jsr [A5 - 0x1810]
000052AE 5C4F addq.w A7, 6
label000052B0:
000052B0 4FEF 000C lea.l A7, [A7 + 0xC]
000052B4 4CDF 0C38 movem.l D3,D4,D5,A2,A3, [A7]+
000052B8 4E75 rts
fn000052BA:
000052BA 48E7 1838 movem.l -[A7], D3,D4,A2,A3,A4
000052BE 286F 0018 movea.l A4, [A7 + 0x18]
000052C2 266F 001C movea.l A3, [A7 + 0x1C]
000052C6 246F 0020 movea.l A2, [A7 + 0x20]
000052CA 262A 0002 move.l D3, [A2 + 0x2]
000052CE 0283 0000 00FF andi.l D3, 0xFF
000052D4 4AAD 8396 tst.l [A5 - 0x7C6A]
000052D8 6704 beq +0x6 /* 000052DE */
000052DA 266D 8396 movea.l A3, [A5 - 0x7C6A]
label000052DE:
000052DE 302A 000E move.w D0, [A2 + 0xE]
000052E2 0280 0000 0100 andi.l D0, 0x100
000052E8 6700 00C8 beq +0xCA /* 000053B2 */
000052EC 2F0C move.l -[A7], A4
000052EE 4EAD E0A8 jsr [A5 - 0x1F58]
000052F2 302C 006C move.w D0, [A4 + 0x6C]
000052F6 B06D B416 cmp.w D0, [A5 - 0x4BEA]
000052FA 584F addq.w A7, 4
000052FC 6612 bne +0x14 /* 00005310 */
000052FE 0C03 0020 cmpi.b D3, 0x20 /* ' ' */
00005302 660C bne +0xE /* 00005310 */
00005304 1F3C 0002 move.b -[A7], 0x2
00005308 42A7 clr.l -[A7]
0000530A 4EAD E0D0 jsr [A5 - 0x1F30]
0000530E 5C4F addq.w A7, 6
label00005310:
00005310 594F subq.w A7, 4
00005312 1003 move.b D0, D3
00005314 4880 ext.w D0
00005316 3F00 move.w -[A7], D0
00005318 A93E syscall MenuKey
0000531A 201F move.l D0, [A7]+
0000531C 2F00 move.l -[A7], D0
0000531E 2F0C move.l -[A7], A4
00005320 42A7 clr.l -[A7]
00005322 4EAD E108 jsr [A5 - 0x1EF8]
00005326 2800 move.l D4, D0
00005328 4EBA B298 jsr [PC - 0x4D68 /* 000005C2 */]
0000532C 4A80 tst.l D0
0000532E 4FEF 000C lea.l A7, [A7 + 0xC]
00005332 671C beq +0x1E /* 00005350 */
00005334 2004 move.l D0, D4
00005336 7210 moveq.l D1, 0x10
00005338 E2A0 asr D0, D1
0000533A 48C0 ext.l D0
0000533C 322D 135E move.w D1, [A5 + 0x135E]
00005340 48C1 ext.l D1
00005342 5481 addq.l D1, 2
00005344 B280 cmp.l D1, D0
00005346 6606 bne +0x8 /* 0000534E */
00005348 0C44 0008 cmpi.w D4, 0x8
0000534C 6702 beq +0x4 /* 00005350 */
label0000534E:
0000534E 7800 moveq.l D4, 0x00
label00005350:
00005350 4A84 tst.l D4
00005352 670E beq +0x10 /* 00005362 */
00005354 3F2A 000E move.w -[A7], [A2 + 0xE]
00005358 2F04 move.l -[A7], D4
0000535A 4EAD E338 jsr [A5 - 0x1CC8]
0000535E 5C4F addq.w A7, 6
00005360 607C bra +0x7E /* 000053DE */
label00005362:
00005362 200B move.l D0, A3
00005364 6778 beq +0x7A /* 000053DE */
00005366 302B 006C move.w D0, [A3 + 0x6C]
0000536A B06D B416 cmp.w D0, [A5 - 0x4BEA]
0000536E 662C bne +0x2E /* 0000539C */
00005370 3F2A 000E move.w -[A7], [A2 + 0xE]
00005374 1F03 move.b -[A7], D3
00005376 202A 0002 move.l D0, [A2 + 0x2]
0000537A 0280 0000 FF00 andi.l D0, 0xFF00
00005380 E088 lsr D0, 8
00005382 1F00 move.b -[A7], D0
00005384 2F0B move.l -[A7], A3
00005386 4EAD E800 jsr [A5 - 0x1800]
0000538A 4A80 tst.l D0
0000538C 57C0 seq D0
0000538E 4400 neg.b D0
00005390 4880 ext.w D0
00005392 48C0 ext.l D0
00005394 2800 move.l D4, D0
00005396 4FEF 000A lea.l A7, [A7 + 0xA]
0000539A 6002 bra +0x4 /* 0000539E */
label0000539C:
0000539C 7801 moveq.l D4, 0x01
label0000539E:
0000539E 4A84 tst.l D4
000053A0 673C beq +0x3E /* 000053DE */
000053A2 3F2A 000E move.w -[A7], [A2 + 0xE]
000053A6 1F03 move.b -[A7], D3
000053A8 2F0B move.l -[A7], A3
000053AA 4EBA FA94 jsr [PC - 0x56C /* 00004E40 */]
000053AE 504F addq.w A7, 8
000053B0 602C bra +0x2E /* 000053DE */
label000053B2:
000053B2 200B move.l D0, A3
000053B4 6728 beq +0x2A /* 000053DE */
000053B6 302B 006C move.w D0, [A3 + 0x6C]
000053BA B06D B416 cmp.w D0, [A5 - 0x4BEA]
000053BE 661E bne +0x20 /* 000053DE */
000053C0 3F2A 000E move.w -[A7], [A2 + 0xE]
000053C4 1F03 move.b -[A7], D3
000053C6 202A 0002 move.l D0, [A2 + 0x2]
000053CA 0280 0000 FF00 andi.l D0, 0xFF00
000053D0 E088 lsr D0, 8
000053D2 1F00 move.b -[A7], D0
000053D4 2F0B move.l -[A7], A3
000053D6 4EAD E7F8 jsr [A5 - 0x1808]
000053DA 4FEF 000A lea.l A7, [A7 + 0xA]
label000053DE:
000053DE 4CDF 1C18 movem.l D3,D4,A2,A3,A4, [A7]+
000053E2 4E75 rts
fn000053E4:
000053E4 48E7 1020 movem.l -[A7], D3,A2
000053E8 594F subq.w A7, 4
000053EA 4AAD 83CE tst.l [A5 - 0x7C32]
000053EE 6600 00CA bne +0xCC /* 000054BA */
000053F2 4AAD 839E tst.l [A5 - 0x7C62]
000053F6 6712 beq +0x14 /* 0000540A */
000053F8 554F subq.w A7, 2
000053FA 2F2D 839A move.l -[A7], [A5 - 0x7C66]
000053FE 2F2F 0016 move.l -[A7], [A7 + 0x16]
00005402 A881 syscall EqualPt
00005404 101F move.b D0, [A7]+
00005406 6600 00B2 bne +0xB4 /* 000054BA */
label0000540A:
0000540A 4AAD 132A tst.l [A5 + 0x132A /* export_609 */]
0000540E 671A beq +0x1C /* 0000542A */
00005410 554F subq.w A7, 2
00005412 2F2F 0012 move.l -[A7], [A7 + 0x12]
00005416 7006 moveq.l D0, 0x06
00005418 AA54 syscall TextServicesDispatch
0000541A 101F move.b D0, [A7]+
0000541C 670C beq +0xE /* 0000542A */
0000541E 4EBA BFCC jsr [PC - 0x4034 /* 000013EC */]
00005422 584F addq.w A7, 4
00005424 4CDF 0408 movem.l D3,A2, [A7]+
00005428 4E75 rts
label0000542A:
0000542A 554F subq.w A7, 2
0000542C 2F2F 0012 move.l -[A7], [A7 + 0x12]
00005430 486F 0006 pea.l [A7 + 0x6]
00005434 A92C syscall FindWindow
00005436 301F move.w D0, [A7]+
00005438 5740 subq.w D0, 3
0000543A 6678 bne +0x7A /* 000054B4 */
0000543C 594F subq.w A7, 4
0000543E A924 syscall FrontWindow
00005440 205F movea.l A0, [A7]+
00005442 2448 movea.l A2, A0
00005444 362A 006C move.w D3, [A2 + 0x6C]
00005448 B5D7 cmpa.l A2, [A7]
0000544A 6706 beq +0x8 /* 00005452 */
0000544C B66D B416 cmp.w D3, [A5 - 0x4BEA]
00005450 6662 bne +0x64 /* 000054B4 */
label00005452:
00005452 2F17 move.l -[A7], [A7]
00005454 4EBA BCF8 jsr [PC - 0x4308 /* 0000114E */]
00005458 486F 0014 pea.l [A7 + 0x14]
0000545C A871 syscall GlobalToLocal
0000545E 4EBA BD10 jsr [PC - 0x42F0 /* 00001170 */]
00005462 B66D B416 cmp.w D3, [A5 - 0x4BEA]
00005466 584F addq.w A7, 4
00005468 662E bne +0x30 /* 00005498 */
0000546A B5D7 cmpa.l A2, [A7]
0000546C 670C beq +0xE /* 0000547A */
0000546E 2F0A move.l -[A7], A2
00005470 4EAD E848 jsr [A5 - 0x17B8]
00005474 5300 subq.b D0, 1
00005476 584F addq.w A7, 4
00005478 6710 beq +0x12 /* 0000548A */
label0000547A:
0000547A 2F2F 0010 move.l -[A7], [A7 + 0x10]
0000547E 2F2F 0004 move.l -[A7], [A7 + 0x4]
00005482 4EAD E808 jsr [A5 - 0x17F8]
00005486 504F addq.w A7, 8
00005488 6006 bra +0x8 /* 00005490 */
label0000548A:
0000548A 4267 clr.w -[A7]
0000548C 4EBA BF66 jsr [PC - 0x409A /* 000013F4 */]
label00005490:
00005490 584F addq.w A7, 4
00005492 4CDF 0408 movem.l D3,A2, [A7]+
00005496 4E75 rts
label00005498:
00005498 B66D B418 cmp.w D3, [A5 - 0x4BE8]
0000549C 6616 bne +0x18 /* 000054B4 */
0000549E 2F2F 0010 move.l -[A7], [A7 + 0x10]
000054A2 2F2F 0004 move.l -[A7], [A7 + 0x4]
000054A6 4EBA D878 jsr [PC - 0x2788 /* 00002D20 */]
000054AA 4FEF 000C lea.l A7, [A7 + 0xC]
000054AE 4CDF 0408 movem.l D3,A2, [A7]+
000054B2 4E75 rts
label000054B4:
000054B4 4267 clr.w -[A7]
000054B6 4EBA BF3C jsr [PC - 0x40C4 /* 000013F4 */]
label000054BA:
000054BA 584F addq.w A7, 4
000054BC 4CDF 0408 movem.l D3,A2, [A7]+
000054C0 4E75 rts
fn000054C2:
000054C2 48E7 0030 movem.l -[A7], A2,A3
000054C6 266F 000C movea.l A3, [A7 + 0xC]
000054CA 594F subq.w A7, 4
000054CC A924 syscall FrontWindow
000054CE 205F movea.l A0, [A7]+
000054D0 2448 movea.l A2, A0
000054D2 6016 bra +0x18 /* 000054EA */
label000054D4:
000054D4 302A 006C move.w D0, [A2 + 0x6C]
000054D8 B06D B416 cmp.w D0, [A5 - 0x4BEA]
000054DC 6608 bne +0xA /* 000054E6 */
000054DE 2F0A move.l -[A7], A2
000054E0 4EAD E7E0 jsr [A5 - 0x1820]
000054E4 584F addq.w A7, 4
label000054E6:
000054E6 246A 0090 movea.l A2, [A2 + 0x90]
label000054EA:
000054EA 200A move.l D0, A2
000054EC 6704 beq +0x6 /* 000054F2 */
000054EE B5CB cmpa.l A2, A3
000054F0 66E2 bne -0x1C /* 000054D4 */
label000054F2:
000054F2 200B move.l D0, A3
000054F4 6712 beq +0x14 /* 00005508 */
000054F6 302B 006C move.w D0, [A3 + 0x6C]
000054FA B06D B416 cmp.w D0, [A5 - 0x4BEA]
000054FE 6608 bne +0xA /* 00005508 */
00005500 2F0B move.l -[A7], A3
00005502 4EAD E7E0 jsr [A5 - 0x1820]
00005506 584F addq.w A7, 4
label00005508:
00005508 4CDF 0C00 movem.l A2,A3, [A7]+
0000550C 4E75 rts
fn0000550E:
0000550E 48E7 1030 movem.l -[A7], D3,A2,A3
00005512 246F 0012 movea.l A2, [A7 + 0x12]
00005516 4AAD 1312 tst.l [A5 + 0x1312 /* export_606 */]
0000551A 670C beq +0xE /* 00005528 */
0000551C 6004 bra +0x6 /* 00005522 */
label0000551E:
0000551E 4EAD FC08 jsr [A5 - 0x3F8]
label00005522:
00005522 4AAD B0E4 tst.l [A5 - 0x4F1C]
00005526 66F6 bne -0x8 /* 0000551E */
label00005528:
00005528 4AAD B46C tst.l [A5 - 0x4B94]
0000552C 6C1A bge +0x1C /* 00005548 */
0000552E 4AAD 83CE tst.l [A5 - 0x7C32]
00005532 660A bne +0xC /* 0000553E */
00005534 594F subq.w A7, 4
00005536 2EB8 02F4 move.l [A7], [0x000002F4 /* CaretTime */]
0000553A 201F move.l D0, [A7]+
0000553C 6006 bra +0x8 /* 00005544 */
label0000553E:
0000553E 203C 0000 03E8 move.l D0, 0x3E8
label00005544:
00005544 2B40 B46C move.l [A5 - 0x4B94], D0
label00005548:
00005548 554F subq.w A7, 2
0000554A 3F2F 0012 move.w -[A7], [A7 + 0x12]
0000554E 2F0A move.l -[A7], A2
00005550 2F2D B46C move.l -[A7], [A5 - 0x4B94]
00005554 2F2F 0026 move.l -[A7], [A7 + 0x26]
00005558 4EAD E098 jsr [A5 - 0x1F68]
0000555C 101F move.b D0, [A7]+
0000555E 7200 moveq.l D1, 0x00
00005560 1200 move.b D1, D0
00005562 2601 move.l D3, D1
00005564 4AAD 1312 tst.l [A5 + 0x1312 /* export_606 */]
00005568 6708 beq +0xA /* 00005572 */
0000556A 4A52 tst.w [A2]
0000556C 6604 bne +0x6 /* 00005572 */
0000556E 4EAD FC08 jsr [A5 - 0x3F8]
label00005572:
00005572 594F subq.w A7, 4
00005574 A924 syscall FrontWindow
00005576 205F movea.l A0, [A7]+
00005578 2648 movea.l A3, A0
0000557A 200B move.l D0, A3
0000557C 671E beq +0x20 /* 0000559C */
0000557E 244B movea.l A2, A3
00005580 6016 bra +0x18 /* 00005598 */
label00005582:
00005582 302A 006C move.w D0, [A2 + 0x6C]
00005586 B06D B416 cmp.w D0, [A5 - 0x4BEA]
0000558A 6608 bne +0xA /* 00005594 */
0000558C 2F0A move.l -[A7], A2
0000558E 4EAD E428 jsr [A5 - 0x1BD8]
00005592 584F addq.w A7, 4
label00005594:
00005594 246A 0090 movea.l A2, [A2 + 0x90]
label00005598:
00005598 200A move.l D0, A2
0000559A 66E6 bne -0x18 /* 00005582 */
label0000559C:
0000559C 2003 move.l D0, D3
0000559E 4CDF 0C08 movem.l D3,A2,A3, [A7]+
000055A2 4E75 rts
fn000055A4:
000055A4 2F0A move.l -[A7], A2
000055A6 594F subq.w A7, 4
000055A8 A924 syscall FrontWindow
000055AA 205F movea.l A0, [A7]+
000055AC 2448 movea.l A2, A0
000055AE B5ED 833E cmpa.l A2, [A5 - 0x7CC2]
000055B2 6708 beq +0xA /* 000055BC */
000055B4 2B4A 833E move.l [A5 - 0x7CC2], A2
000055B8 2F0A move.l -[A7], A2
000055BA AA94 syscall ActivatePalette
label000055BC:
000055BC 245F movea.l A2, [A7]+
000055BE 4E75 rts
fn000055C0:
000055C0 2F0A move.l -[A7], A2
000055C2 594F subq.w A7, 4
000055C4 A924 syscall FrontWindow
000055C6 205F movea.l A0, [A7]+
000055C8 2448 movea.l A2, A0
000055CA 200A move.l D0, A2
000055CC 6716 beq +0x18 /* 000055E4 */
000055CE 302A 006C move.w D0, [A2 + 0x6C]
000055D2 B06D B418 cmp.w D0, [A5 - 0x4BE8]
000055D6 660C bne +0xE /* 000055E4 */
000055D8 3F3C 000A move.w -[A7], 0xA /* '\n' */
000055DC A9C8 syscall SysBeep
000055DE 7001 moveq.l D0, 0x01
000055E0 245F movea.l A2, [A7]+
000055E2 4E75 rts
label000055E4:
000055E4 7000 moveq.l D0, 0x00
000055E6 245F movea.l A2, [A7]+
000055E8 4E75 rts
fn000055EA:
000055EA 2F03 move.l -[A7], D3
000055EC 514F subq.w A7, 8
000055EE 554F subq.w A7, 2
000055F0 2F2F 0012 move.l -[A7], [A7 + 0x12]
000055F4 2F3C 6D69 7373 move.l -[A7], 0x6D697373 /* 'miss' */
000055FA 2F3C 2A2A 2A2A move.l -[A7], 0x2A2A2A2A /* '****' */
00005600 486F 0012 pea.l [A7 + 0x12]
00005604 42A7 clr.l -[A7]
00005606 42A7 clr.l -[A7]
00005608 486F 001A pea.l [A7 + 0x1A]
0000560C 303C 0E15 move.w D0, 0xE15
00005610 A816 syscall Pack8
00005612 301F move.w D0, [A7]+
00005614 3600 move.w D3, D0
00005616 0C43 F95B cmpi.w D3, 0xF95B
0000561A 6710 beq +0x12 /* 0000562C */
0000561C 4A43 tst.w D3
0000561E 6704 beq +0x6 /* 00005624 */
00005620 3003 move.w D0, D3
00005622 6004 bra +0x6 /* 00005628 */
label00005624:
00005624 303C F954 move.w D0, 0xF954
label00005628:
00005628 48C0 ext.l D0
0000562A 6002 bra +0x4 /* 0000562E */
label0000562C:
0000562C 7000 moveq.l D0, 0x00
label0000562E:
0000562E 504F addq.w A7, 8
00005630 261F move.l D3, [A7]+
00005632 4E75 rts
fn00005634:
00005634 48E7 1820 movem.l -[A7], D3,D4,A2
00005638 4FEF FFA0 lea.l A7, [A7 - 0x60]
0000563C 246F 0070 movea.l A2, [A7 + 0x70]
00005640 554F subq.w A7, 2
00005642 2F0A move.l -[A7], A2
00005644 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
0000564A 2F3C 6C69 7374 move.l -[A7], 0x6C697374 /* 'list' */
00005650 486F 0020 pea.l [A7 + 0x20]
00005654 303C 0812 move.w D0, 0x812
00005658 A816 syscall Pack8
0000565A 301F move.w D0, [A7]+
0000565C 3600 move.w D3, D0
0000565E 670C beq +0xE /* 0000566C */
00005660 3003 move.w D0, D3
00005662 4FEF 0060 lea.l A7, [A7 + 0x60]
00005666 4CDF 0418 movem.l D3,D4,A2, [A7]+
0000566A 4E75 rts
label0000566C:
0000566C 2F0A move.l -[A7], A2
0000566E 4EBA FF7A jsr [PC - 0x86 /* 000055EA */]
00005672 3600 move.w D3, D0
00005674 584F addq.w A7, 4
00005676 671A beq +0x1C /* 00005692 */
00005678 554F subq.w A7, 2
0000567A 486F 0014 pea.l [A7 + 0x14]
0000567E 303C 0204 move.w D0, 0x204
00005682 A816 syscall Pack8
00005684 301F move.w D0, [A7]+
00005686 3003 move.w D0, D3
00005688 4FEF 0060 lea.l A7, [A7 + 0x60]
0000568C 4CDF 0418 movem.l D3,D4,A2, [A7]+
00005690 4E75 rts
label00005692:
00005692 554F subq.w A7, 2
00005694 486F 0014 pea.l [A7 + 0x14]
00005698 486F 0014 pea.l [A7 + 0x14]
0000569C 303C 0407 move.w D0, 0x407
000056A0 A816 syscall Pack8
000056A2 301F move.w D0, [A7]+
000056A4 3600 move.w D3, D0
000056A6 671A beq +0x1C /* 000056C2 */
000056A8 554F subq.w A7, 2
000056AA 486F 0014 pea.l [A7 + 0x14]
000056AE 303C 0204 move.w D0, 0x204
000056B2 A816 syscall Pack8
000056B4 301F move.w D0, [A7]+
000056B6 3003 move.w D0, D3
000056B8 4FEF 0060 lea.l A7, [A7 + 0x60]
000056BC 4CDF 0418 movem.l D3,D4,A2, [A7]+
000056C0 4E75 rts
label000056C2:
000056C2 4AAD B2D8 tst.l [A5 - 0x4D28]
000056C6 667A bne +0x7C /* 00005742 */
000056C8 7801 moveq.l D4, 0x01
000056CA 606C bra +0x6E /* 00005738 */
label000056CC:
000056CC 554F subq.w A7, 2
000056CE 486F 0014 pea.l [A7 + 0x14]
000056D2 2F04 move.l -[A7], D4
000056D4 2F3C 6673 7320 move.l -[A7], 0x66737320 /* 'fss ' */
000056DA 486F 0014 pea.l [A7 + 0x14]
000056DE 486F 001C pea.l [A7 + 0x1C]
000056E2 486F 0030 pea.l [A7 + 0x30]
000056E6 4878 0046 push.l 0x46 /* 'F' */
000056EA 486F 0020 pea.l [A7 + 0x20]
000056EE 303C 100A move.w D0, 0x100A
000056F2 A816 syscall Pack8
000056F4 301F move.w D0, [A7]+
000056F6 3600 move.w D3, D0
000056F8 663C bne +0x3E /* 00005736 */
000056FA 4AAD 1326 tst.l [A5 + 0x1326]
000056FE 671A beq +0x1C /* 0000571A */
00005700 554F subq.w A7, 2
00005702 486F 001C pea.l [A7 + 0x1C]
00005706 1F3C 0001 move.b -[A7], 0x1
0000570A 486F 0009 pea.l [A7 + 0x9]
0000570E 486F 000C pea.l [A7 + 0xC]
00005712 700C moveq.l D0, 0x0C
00005714 A823 syscall AliasDispatch
00005716 301F move.w D0, [A7]+
00005718 3600 move.w D3, D0
label0000571A:
0000571A 4A43 tst.w D3
0000571C 6618 bne +0x1A /* 00005736 */
0000571E 42A7 clr.l -[A7]
00005720 42A7 clr.l -[A7]
00005722 4878 0001 push.l 0x1
00005726 4878 0001 push.l 0x1
0000572A 486F 002A pea.l [A7 + 0x2A]
0000572E 4EAD E330 jsr [A5 - 0x1CD0]
00005732 4FEF 0014 lea.l A7, [A7 + 0x14]
label00005736:
00005736 5284 addq.l D4, 1
label00005738:
00005738 B8AF 000E cmp.l D4, [A7 + 0xE]
0000573C 6E04 bgt +0x6 /* 00005742 */
0000573E 4A43 tst.w D3
00005740 678A beq -0x74 /* 000056CC */
label00005742:
00005742 554F subq.w A7, 2
00005744 486F 0014 pea.l [A7 + 0x14]
00005748 303C 0204 move.w D0, 0x204
0000574C A816 syscall Pack8
0000574E 301F move.w D0, [A7]+
00005750 4FEF 0060 lea.l A7, [A7 + 0x60]
00005754 4CDF 0418 movem.l D3,D4,A2, [A7]+
00005758 4E75 rts
fn0000575A:
0000575A 48E7 1020 movem.l -[A7], D3,A2
0000575E 4FEF FEA8 lea.l A7, [A7 - 0x158]
00005762 246F 0164 movea.l A2, [A7 + 0x164]
00005766 554F subq.w A7, 2
00005768 2F0A move.l -[A7], A2
0000576A 2F3C 6164 6472 move.l -[A7], 0x61646472 /* 'addr' */
00005770 2F3C 2A2A 2A2A move.l -[A7], 0x2A2A2A2A /* '****' */
00005776 486F 010E pea.l [A7 + 0x10E]
0000577A 486F 0012 pea.l [A7 + 0x12]
0000577E 4878 00FC push.l 0xFC
00005782 486F 0116 pea.l [A7 + 0x116]
00005786 303C 0E15 move.w D0, 0xE15
0000578A A816 syscall Pack8
0000578C 301F move.w D0, [A7]+
0000578E 6612 bne +0x14 /* 000057A2 */
00005790 554F subq.w A7, 2
00005792 486F 0006 pea.l [A7 + 0x6]
00005796 486D 83D6 pea.l [A5 - 0x7C2A]
0000579A 3F3C 0035 move.w -[A7], 0x35 /* '5' */
0000579E A88F syscall OSDispatch
000057A0 301F move.w D0, [A7]+
label000057A2:
000057A2 554F subq.w A7, 2
000057A4 2F0A move.l -[A7], A2
000057A6 2F3C 2D2D 2D2D move.l -[A7], 0x2D2D2D2D /* '----' */
000057AC 2F3C 414C 5448 move.l -[A7], 0x414C5448 /* 'ALTH' */
000057B2 486F 010E pea.l [A7 + 0x10E]
000057B6 486F 011E pea.l [A7 + 0x11E]
000057BA 4878 004C push.l 0x4C /* 'L' */
000057BE 486F 0116 pea.l [A7 + 0x116]
000057C2 303C 0E11 move.w D0, 0xE11
000057C6 A816 syscall Pack8
000057C8 301F move.w D0, [A7]+
000057CA 3600 move.w D3, D0
000057CC 670C beq +0xE /* 000057DA */
000057CE 3003 move.w D0, D3
000057D0 4FEF 0158 lea.l A7, [A7 + 0x158]
000057D4 4CDF 0408 movem.l D3,A2, [A7]+
000057D8 4E75 rts
label000057DA:
000057DA 2F0A move.l -[A7], A2
000057DC 4EBA FE0C jsr [PC - 0x1F4 /* 000055EA */]
000057E0 3600 move.w D3, D0
000057E2 584F addq.w A7, 4
000057E4 670C beq +0xE /* 000057F2 */
000057E6 3003 move.w D0, D3
000057E8 4FEF 0158 lea.l A7, [A7 + 0x158]
000057EC 4CDF 0408 movem.l D3,A2, [A7]+
000057F0 4E75 rts
label000057F2:
000057F2 2F2F 0152 move.l -[A7], [A7 + 0x152]
000057F6 3F2F 015A move.w -[A7], [A7 + 0x15A]
000057FA 486F 0112 pea.l [A7 + 0x112]
000057FE 4EBA F5C0 jsr [PC - 0xA40 /* 00004DC0 */]
00005802 4AAD 131E tst.l [A5 + 0x131E]
00005806 4FEF 000A lea.l A7, [A7 + 0xA]
0000580A 6718 beq +0x1A /* 00005824 */
0000580C 42AF 0104 clr.l [A7 + 0x104]
00005810 7002 moveq.l D0, 0x02
00005812 2F40 0108 move.l [A7 + 0x108], D0
00005816 554F subq.w A7, 2
00005818 486F 0106 pea.l [A7 + 0x106]
0000581C 3F3C 003B move.w -[A7], 0x3B /* ';' */
00005820 A88F syscall OSDispatch
00005822 301F move.w D0, [A7]+
label00005824:
00005824 7000 moveq.l D0, 0x00
00005826 4FEF 0158 lea.l A7, [A7 + 0x158]
0000582A 4CDF 0408 movem.l D3,A2, [A7]+
0000582E 4E75 rts
fn00005830:
00005830 2F0A move.l -[A7], A2
00005832 554F subq.w A7, 2
00005834 2F3C 414C 5448 move.l -[A7], 0x414C5448 /* 'ALTH' */
0000583A 486D 1306 pea.l [A5 + 0x1306]
0000583E 4EAD DA66 jsr [A5 - 0x259A]
00005842 301F move.w D0, [A7]+
00005844 6708 beq +0xA /* 0000584E */
00005846 42AD 1306 clr.l [A5 + 0x1306]
0000584A 245F movea.l A2, [A7]+
0000584C 4E75 rts
label0000584E:
0000584E 4AAD 1306 tst.l [A5 + 0x1306]
00005852 671E beq +0x20 /* 00005872 */
00005854 206D 1306 movea.l A0, [A5 + 0x1306]
00005858 2450 movea.l A2, [A0]
0000585A 41F8 0910 lea.l A0, [0x00000910 /* CurApName */]
0000585E 43EA 0004 lea.l A1, [A2 + 0x4]
00005862 7000 moveq.l D0, 0x00
00005864 1038 0910 move.b D0, [0x00000910 /* CurApName */]
00005868 5280 addq.l D0, 1
0000586A A02E syscall BlockMove/BlockMoveData
0000586C 357C 0001 0028 move.w [A2 + 0x28], 0x1
label00005872:
00005872 245F movea.l A2, [A7]+
00005874 4E75 rts
fn00005876:
00005876 48E7 1020 movem.l -[A7], D3,A2
0000587A 4FEF FFF0 lea.l A7, [A7 - 0x10]
0000587E 246F 001C movea.l A2, [A7 + 0x1C]
00005882 262F 0020 move.l D3, [A7 + 0x20]
00005886 4A83 tst.l D3
00005888 6706 beq +0x8 /* 00005890 */
0000588A 4EAD E0C8 jsr [A5 - 0x1F38]
0000588E 6004 bra +0x6 /* 00005894 */
label00005890:
00005890 4EBA AD90 jsr [PC - 0x5270 /* 00000622 */]
label00005894:
00005894 4AAD 1312 tst.l [A5 + 0x1312 /* export_606 */]
00005898 6600 0096 bne +0x98 /* 00005930 */
0000589C 4A83 tst.l D3
0000589E 6604 bne +0x6 /* 000058A4 */
000058A0 42AD 8396 clr.l [A5 - 0x7C6A]
label000058A4:
000058A4 2003 move.l D0, D3
000058A6 57C0 seq D0
000058A8 4400 neg.b D0
000058AA 4880 ext.w D0
000058AC 48C0 ext.l D0
000058AE 2B40 83CE move.l [A5 - 0x7C32], D0
000058B2 70FF moveq.l D0, 0xFFFFFFFF
000058B4 2B40 B46C move.l [A5 - 0x4B94], D0
000058B8 200A move.l D0, A2
000058BA 6772 beq +0x74 /* 0000592E */
000058BC 302A 006C move.w D0, [A2 + 0x6C]
000058C0 B06D B416 cmp.w D0, [A5 - 0x4BEA]
000058C4 6636 bne +0x38 /* 000058FC */
000058C6 2F03 move.l -[A7], D3
000058C8 2F0A move.l -[A7], A2
000058CA 4EAD E7C8 jsr [A5 - 0x1838]
000058CE 4AAD 83B6 tst.l [A5 - 0x7C4A]
000058D2 504F addq.w A7, 8
000058D4 671A beq +0x1C /* 000058F0 */
000058D6 4EBA EE2E jsr [PC - 0x11D2 /* 00004706 */]
000058DA 594F subq.w A7, 4
000058DC 206D 1342 movea.l A0, [A5 + 0x1342 /* export_612 */]
000058E0 4E90 jsr [A0]
000058E2 205F movea.l A0, [A7]+
000058E4 2448 movea.l A2, A0
000058E6 2008 move.l D0, A0
000058E8 6706 beq +0x8 /* 000058F0 */
000058EA 2F0A move.l -[A7], A2
000058EC 4227 clr.b -[A7]
000058EE A91C syscall HiliteWindow
label000058F0:
000058F0 204A movea.l A0, A2
000058F2 4FEF 0010 lea.l A7, [A7 + 0x10]
000058F6 4CDF 0408 movem.l D3,A2, [A7]+
000058FA 4E75 rts
label000058FC:
000058FC 302A 006C move.w D0, [A2 + 0x6C]
00005900 B06D B418 cmp.w D0, [A5 - 0x4BE8]
00005904 6628 bne +0x2A /* 0000592E */
00005906 2F4A 0002 move.l [A7 + 0x2], A2
0000590A 3EBC 0008 move.w [A7], 0x8
0000590E 4A83 tst.l D3
00005910 6604 bne +0x6 /* 00005916 */
00005912 7000 moveq.l D0, 0x00
00005914 6002 bra +0x4 /* 00005918 */
label00005916:
00005916 7001 moveq.l D0, 0x01
label00005918:
00005918 3F40 000E move.w [A7 + 0xE], D0
0000591C 3F3C 0001 move.w -[A7], 0x1
00005920 486F 0002 pea.l [A7 + 0x2]
00005924 2F0A move.l -[A7], A2
00005926 4EBA CF38 jsr [PC - 0x30C8 /* 00002860 */]
0000592A 4FEF 000A lea.l A7, [A7 + 0xA]
label0000592E:
0000592E 91C8 sub.l A0, A0
label00005930:
00005930 4FEF 0010 lea.l A7, [A7 + 0x10]
00005934 4CDF 0408 movem.l D3,A2, [A7]+
00005938 4E75 rts
fn0000593A:
0000593A 48E7 1820 movem.l -[A7], D3,D4,A2
0000593E 4FEF FFAC lea.l A7, [A7 - 0x54]
00005942 594F subq.w A7, 4
00005944 2F3C 6366 7267 move.l -[A7], 0x63667267 /* 'cfrg' */
0000594A 4267 clr.w -[A7]
0000594C A81F syscall Get1Resource
0000594E 205F movea.l A0, [A7]+
00005950 2448 movea.l A2, A0
00005952 200A move.l D0, A2
00005954 6606 bne +0x8 /* 0000595C */
00005956 2E80 move.l [A7], D0
00005958 7000 moveq.l D0, 0x00
0000595A 6006 bra +0x8 /* 00005962 */
label0000595C:
0000595C 2052 movea.l A0, [A2]
0000595E 2028 003C move.l D0, [A0 + 0x3C]
label00005962:
00005962 2600 move.l D3, D0
00005964 7004 moveq.l D0, 0x04
00005966 2F40 0004 move.l [A7 + 0x4], D0
0000596A 7800 moveq.l D4, 0x00
0000596C 3F6D 8A28 000E move.w [A7 + 0xE], [A5 - 0x75D8]
00005972 2F6D 8A22 0010 move.l [A7 + 0x10], [A5 - 0x75DE]
00005978 41F8 0910 lea.l A0, [0x00000910 /* CurApName */]
0000597C 43EF 0014 lea.l A1, [A7 + 0x14]
00005980 7000 moveq.l D0, 0x00
00005982 1038 0910 move.b D0, [0x00000910 /* CurApName */]
00005986 5280 addq.l D0, 1
00005988 A02E syscall BlockMove/BlockMoveData
0000598A 554F subq.w A7, 2
0000598C 3F2F 0010 move.w -[A7], [A7 + 0x10]
00005990 2F2F 0014 move.l -[A7], [A7 + 0x14]
00005994 486F 001C pea.l [A7 + 0x1C]
00005998 1F3C 0001 move.b -[A7], 0x1
0000599C 486F 001A pea.l [A7 + 0x1A]
000059A0 4EAD D9FA jsr [A5 - 0x2606]
000059A4 301F move.w D0, [A7]+
000059A6 666A bne +0x6C /* 00005A12 */
000059A8 4A83 tst.l D3
000059AA 6712 beq +0x14 /* 000059BE */
000059AC 554F subq.w A7, 2
000059AE 3F2F 000E move.w -[A7], [A7 + 0xE]
000059B2 3F3C 0001 move.w -[A7], 0x1
000059B6 2F03 move.l -[A7], D3
000059B8 4EAD D9F4 jsr [A5 - 0x260C]
000059BC 301F move.w D0, [A7]+
label000059BE:
000059BE 554F subq.w A7, 2
000059C0 3F2F 000E move.w -[A7], [A7 + 0xE]
000059C4 486F 0008 pea.l [A7 + 0x8]
000059C8 486F 0010 pea.l [A7 + 0x10]
000059CC 4EAD D9D0 jsr [A5 - 0x2630]
000059D0 301F move.w D0, [A7]+
000059D2 660C bne +0xE /* 000059E0 */
000059D4 0CAF FFFE 4A5A 0008 cmpi.l [A7 + 0x8], 0xFFFE4A5A
000059DC 6602 bne +0x4 /* 000059E0 */
000059DE 7801 moveq.l D4, 0x01
label000059E0:
000059E0 554F subq.w A7, 2
000059E2 3F2F 000E move.w -[A7], [A7 + 0xE]
000059E6 4EAD D9CA jsr [A5 - 0x2636]
000059EA 301F move.w D0, [A7]+
000059EC 4A84 tst.l D4
000059EE 6722 beq +0x24 /* 00005A12 */
000059F0 3F3C 0001 move.w -[A7], 0x1
000059F4 42A7 clr.l -[A7]
000059F6 4EAD E0E8 jsr [A5 - 0x1F18]
000059FA 42A7 clr.l -[A7]
000059FC 42A7 clr.l -[A7]
000059FE 4878 0001 push.l 0x1
00005A02 4878 0001 push.l 0x1
00005A06 486F 0024 pea.l [A7 + 0x24]
00005A0A 4EAD E330 jsr [A5 - 0x1CD0]
00005A0E 4FEF 001A lea.l A7, [A7 + 0x1A]
label00005A12:
00005A12 4FEF 0054 lea.l A7, [A7 + 0x54]
00005A16 4CDF 0418 movem.l D3,D4,A2, [A7]+
00005A1A 4E75 rts
00005A1C 2F03 move.l -[A7], D3
00005A1E 4FEF FEFA lea.l A7, [A7 - 0x106]
00005A22 362F 0112 move.w D3, [A7 + 0x112]
00005A26 4A2D 83E1 tst.b [A5 - 0x7C1F]
00005A2A 6632 bne +0x34 /* 00005A5E */
00005A2C 554F subq.w A7, 2
00005A2E 2F3C 6865 6C70 move.l -[A7], 0x68656C70 /* 'help' */
00005A34 486F 0006 pea.l [A7 + 0x6]
00005A38 4EAD DA66 jsr [A5 - 0x259A]
00005A3C 301F move.w D0, [A7]+
00005A3E 6618 bne +0x1A /* 00005A58 */
00005A40 554F subq.w A7, 2
00005A42 486F 0002 pea.l [A7 + 0x2]
00005A46 4878 001F push.l 0x1F
00005A4A A85D syscall BitTst
00005A4C 101F move.b D0, [A7]+
00005A4E 6708 beq +0xA /* 00005A58 */
00005A50 1B7C 0002 83E1 move.b [A5 - 0x7C1F], 0x2
00005A56 6006 bra +0x8 /* 00005A5E */
label00005A58:
00005A58 1B7C 0001 83E1 move.b [A5 - 0x7C1F], 0x1
label00005A5E:
00005A5E 0C2D 0002 83E1 cmpi.b [A5 - 0x7C1F], 0x2
00005A64 6600 0080 bne +0x82 /* 00005AE6 */
00005A68 554F subq.w A7, 2
00005A6A 303C 0003 move.w D0, 0x3
00005A6E A830 syscall Pack14
00005A70 101F move.b D0, [A7]+
00005A72 660C bne +0xE /* 00005A80 */
00005A74 426D 83DE clr.w [A5 - 0x7C22]
00005A78 4FEF 0106 lea.l A7, [A7 + 0x106]
00005A7C 261F move.l D3, [A7]+
00005A7E 4E75 rts
label00005A80:
00005A80 B66D 83DE cmp.w D3, [A5 - 0x7C22]
00005A84 660C bne +0xE /* 00005A92 */
00005A86 554F subq.w A7, 2
00005A88 303C 0007 move.w D0, 0x7
00005A8C A830 syscall Pack14
00005A8E 101F move.b D0, [A7]+
00005A90 6654 bne +0x56 /* 00005AE6 */
label00005A92:
00005A92 3B43 83DE move.w [A5 - 0x7C22], D3
00005A96 6612 bne +0x14 /* 00005AAA */
00005A98 554F subq.w A7, 2
00005A9A 303C 0002 move.w D0, 0x2
00005A9E A830 syscall Pack14
00005AA0 301F move.w D0, [A7]+
00005AA2 4FEF 0106 lea.l A7, [A7 + 0x106]
00005AA6 261F move.l D3, [A7]+
00005AA8 4E75 rts
label00005AAA:
00005AAA 5B6F 0110 subq.w [A7 + 0x110], 5
00005AAE 5B6F 010E subq.w [A7 + 0x10E], 5
00005AB2 3F7C 0003 0004 move.w [A7 + 0x4], 0x3
00005AB8 302D 135E move.w D0, [A5 + 0x135E]
00005ABC 48C0 ext.l D0
00005ABE 0680 0000 0083 addi.l D0, 0x83
00005AC4 3F40 0006 move.w [A7 + 0x6], D0
00005AC8 3F43 0008 move.w [A7 + 0x8], D3
00005ACC 554F subq.w A7, 2
00005ACE 486F 0006 pea.l [A7 + 0x6]
00005AD2 2F2F 0114 move.l -[A7], [A7 + 0x114]
00005AD6 42A7 clr.l -[A7]
00005AD8 42A7 clr.l -[A7]
00005ADA 42A7 clr.l -[A7]
00005ADC 4267 clr.w -[A7]
00005ADE 303C 0B01 move.w D0, 0xB01
00005AE2 A830 syscall Pack14
00005AE4 301F move.w D0, [A7]+
label00005AE6:
00005AE6 4FEF 0106 lea.l A7, [A7 + 0x106]
00005AEA 261F move.l D3, [A7]+
00005AEC 4E75 rts
00005AEE 2F03 move.l -[A7], D3
00005AF0 4FEF FFC6 lea.l A7, [A7 - 0x3A]
00005AF4 3F3C 0007 move.w -[A7], 0x7
00005AF8 42A7 clr.l -[A7]
00005AFA 486F 000A pea.l [A7 + 0xA]
00005AFE 4EBA 0156 jsr [PC + 0x156 /* 00005C56 */]
00005B02 4A80 tst.l D0
00005B04 4FEF 000A lea.l A7, [A7 + 0xA]
00005B08 677A beq +0x7C /* 00005B84 */
00005B0A 7034 moveq.l D0, 0x34
00005B0C 2E80 move.l [A7], D0
00005B0E 554F subq.w A7, 2
00005B10 3F2F 0006 move.w -[A7], [A7 + 0x6]
00005B14 486F 0004 pea.l [A7 + 0x4]
00005B18 486F 000E pea.l [A7 + 0xE]
00005B1C 4EAD D9D0 jsr [A5 - 0x2630]
00005B20 301F move.w D0, [A7]+
00005B22 3600 move.w D3, D0
00005B24 6618 bne +0x1A /* 00005B3E */
00005B26 0C6F 0110 0006 cmpi.w [A7 + 0x6], 0x110
00005B2C 6610 bne +0x12 /* 00005B3E */
00005B2E 41EF 0006 lea.l A0, [A7 + 0x6]
00005B32 43ED B470 lea.l A1, [A5 - 0x4B90]
00005B36 700C moveq.l D0, 0x0C
label00005B38:
00005B38 22D8 move.l [A1]+, [A0]+
00005B3A 51C8 FFFC dbf D0, -0x6 /* 00005B38 */
label00005B3E:
00005B3E 554F subq.w A7, 2
00005B40 3F2F 0006 move.w -[A7], [A7 + 0x6]
00005B44 4EAD D9CA jsr [A5 - 0x2636]
00005B48 301F move.w D0, [A7]+
00005B4A 4A43 tst.w D3
00005B4C 6714 beq +0x16 /* 00005B62 */
00005B4E 0C43 FFD9 cmpi.w D3, 0xFFD9
00005B52 670E beq +0x10 /* 00005B62 */
00005B54 3F03 move.w -[A7], D3
00005B56 3F3C 0007 move.w -[A7], 0x7
00005B5A 4EBA C66E jsr [PC - 0x3992 /* 000021CA */]
00005B5E 584F addq.w A7, 4
00005B60 6022 bra +0x24 /* 00005B84 */
label00005B62:
00005B62 4A6D B48A tst.w [A5 - 0x4B76]
00005B66 671C beq +0x1E /* 00005B84 */
00005B68 302D 135E move.w D0, [A5 + 0x135E]
00005B6C 48C0 ext.l D0
00005B6E 0680 0000 008A addi.l D0, 0x8A
00005B74 3F00 move.w -[A7], D0
00005B76 4EAD DB62 jsr [A5 - 0x249E]
00005B7A 4A80 tst.l D0
00005B7C 544F addq.w A7, 2
00005B7E 6604 bne +0x6 /* 00005B84 */
00005B80 426D B48A clr.w [A5 - 0x4B76]
label00005B84:
00005B84 4FEF 003A lea.l A7, [A7 + 0x3A]
00005B88 261F move.l D3, [A7]+
00005B8A 4E75 rts
00005B8C 514F subq.w A7, 8
00005B8E 3F3C 0008 move.w -[A7], 0x8
00005B92 4878 0001 push.l 0x1
00005B96 486F 000C pea.l [A7 + 0xC]
00005B9A 4EBA 00BA jsr [PC + 0xBA /* 00005C56 */]
00005B9E 4A80 tst.l D0
00005BA0 4FEF 000A lea.l A7, [A7 + 0xA]
00005BA4 6736 beq +0x38 /* 00005BDC */
00005BA6 7034 moveq.l D0, 0x34
00005BA8 2F40 0002 move.l [A7 + 0x2], D0
00005BAC 554F subq.w A7, 2
00005BAE 3F2F 0008 move.w -[A7], [A7 + 0x8]
00005BB2 486F 0006 pea.l [A7 + 0x6]
00005BB6 486D B470 pea.l [A5 - 0x4B90]
00005BBA 4EAD D9D6 jsr [A5 - 0x262A]
00005BBE 301F move.w D0, [A7]+
00005BC0 3E80 move.w [A7], D0
00005BC2 670C beq +0xE /* 00005BD0 */
00005BC4 3F17 move.w -[A7], [A7]
00005BC6 3F3C 0008 move.w -[A7], 0x8
00005BCA 4EBA C5FE jsr [PC - 0x3A02 /* 000021CA */]
00005BCE 584F addq.w A7, 4
label00005BD0:
00005BD0 554F subq.w A7, 2
00005BD2 3F2F 0008 move.w -[A7], [A7 + 0x8]
00005BD6 4EAD D9CA jsr [A5 - 0x2636]
00005BDA 301F move.w D0, [A7]+
label00005BDC:
00005BDC 504F addq.w A7, 8
00005BDE 4E75 rts
fn00005BE0:
00005BE0 48E7 1030 movem.l -[A7], D3,A2,A3
00005BE4 4FEF FFEC lea.l A7, [A7 - 0x14]
00005BE8 266F 0024 movea.l A3, [A7 + 0x24]
00005BEC 246F 0028 movea.l A2, [A7 + 0x28]
00005BF0 7600 moveq.l D3, 0x00
00005BF2 4AAD 132E tst.l [A5 + 0x132E]
00005BF6 671E beq +0x20 /* 00005C16 */
00005BF8 554F subq.w A7, 2
00005BFA 3F3C 8000 move.w -[A7], 0x8000
00005BFE 2F3C 7072 6566 move.l -[A7], 0x70726566 /* 'pref' */
00005C04 1F3C 0001 move.b -[A7], 0x1
00005C08 2F0B move.l -[A7], A3
00005C0A 2F0A move.l -[A7], A2
00005C0C 4EAD DA2A jsr [A5 - 0x25D6]
00005C10 301F move.w D0, [A7]+
00005C12 3600 move.w D3, D0
00005C14 602A bra +0x2C /* 00005C40 */
label00005C16:
00005C16 554F subq.w A7, 2
00005C18 3F3C 0001 move.w -[A7], 0x1
00005C1C 486F 0008 pea.l [A7 + 0x8]
00005C20 4EAD DA60 jsr [A5 - 0x25A0]
00005C24 301F move.w D0, [A7]+
00005C26 3600 move.w D3, D0
00005C28 6616 bne +0x18 /* 00005C40 */
00005C2A 554F subq.w A7, 2
00005C2C 3F2F 0014 move.w -[A7], [A7 + 0x14]
00005C30 2F0B move.l -[A7], A3
00005C32 2F0A move.l -[A7], A2
00005C34 486F 000C pea.l [A7 + 0xC]
00005C38 4EAD DA18 jsr [A5 - 0x25E8]
00005C3C 301F move.w D0, [A7]+
00005C3E 3600 move.w D3, D0
label00005C40:
00005C40 4A43 tst.w D3
00005C42 6708 beq +0xA /* 00005C4C */
00005C44 36BC FFFF move.w [A3], 0xFFFF
00005C48 7002 moveq.l D0, 0x02
00005C4A 2480 move.l [A2], D0
label00005C4C:
00005C4C 4FEF 0014 lea.l A7, [A7 + 0x14]
00005C50 4CDF 0C08 movem.l D3,A2,A3, [A7]+
00005C54 4E75 rts
fn00005C56:
00005C56 48E7 1C00 movem.l -[A7], D3,D4,D5
00005C5A 4FEF FEEA lea.l A7, [A7 - 0x116]
00005C5E 486F 0006 pea.l [A7 + 0x6]
00005C62 302D 135E move.w D0, [A5 + 0x135E]
00005C66 48C0 ext.l D0
00005C68 0680 0000 0081 addi.l D0, 0x81
00005C6E 3F00 move.w -[A7], D0
00005C70 3F3C 0013 move.w -[A7], 0x13
00005C74 4EAD DA4E jsr [A5 - 0x25B2]
00005C78 486F 0002 pea.l [A7 + 0x2]
00005C7C 486F 0004 pea.l [A7 + 0x4]
00005C80 4EBA FF5E jsr [PC - 0xA2 /* 00005BE0 */]
00005C84 3F2F 0008 move.w -[A7], [A7 + 0x8]
00005C88 2F2F 000C move.l -[A7], [A7 + 0xC]
00005C8C 486F 0014 pea.l [A7 + 0x14]
00005C90 486F 0118 pea.l [A7 + 0x118]
00005C94 4EAD DA06 jsr [A5 - 0x25FA]
00005C98 301F move.w D0, [A7]+
00005C9A 3600 move.w D3, D0
00005C9C 5C4F addq.w A7, 6
00005C9E 6638 bne +0x3A /* 00005CD8 */
00005CA0 283C 414C 5471 move.l D4, 0x414C5471 /* 'ALTq' */
00005CA6 2A3C 414C 5456 move.l D5, 0x414C5456 /* 'ALTV' */
00005CAC B8AF 0106 cmp.l D4, [A7 + 0x106]
00005CB0 6606 bne +0x8 /* 00005CB8 */
00005CB2 BAAF 010A cmp.l D5, [A7 + 0x10A]
00005CB6 6720 beq +0x22 /* 00005CD8 */
label00005CB8:
00005CB8 2F44 0106 move.l [A7 + 0x106], D4
00005CBC 2F45 010A move.l [A7 + 0x10A], D5
00005CC0 554F subq.w A7, 2
00005CC2 3F2F 0002 move.w -[A7], [A7 + 0x2]
00005CC6 2F2F 0006 move.l -[A7], [A7 + 0x6]
00005CCA 486F 000E pea.l [A7 + 0xE]
00005CCE 486F 0112 pea.l [A7 + 0x112]
00005CD2 4EAD DA0C jsr [A5 - 0x25F4]
00005CD6 301F move.w D0, [A7]+
label00005CD8:
00005CD8 0C43 FFD5 cmpi.w D3, 0xFFD5
00005CDC 6712 beq +0x14 /* 00005CF0 */
00005CDE 0C43 FF88 cmpi.w D3, 0xFF88
00005CE2 670C beq +0xE /* 00005CF0 */
00005CE4 0C43 FFDD cmpi.w D3, 0xFFDD
00005CE8 6706 beq +0x8 /* 00005CF0 */
00005CEA 0C43 FFDB cmpi.w D3, 0xFFDB
00005CEE 6636 bne +0x38 /* 00005D26 */
label00005CF0:
00005CF0 4AAF 012A tst.l [A7 + 0x12A]
00005CF4 6724 beq +0x26 /* 00005D1A */
00005CF6 554F subq.w A7, 2
00005CF8 3F2F 0002 move.w -[A7], [A7 + 0x2]
00005CFC 2F2F 0006 move.l -[A7], [A7 + 0x6]
00005D00 486F 000E pea.l [A7 + 0xE]
00005D04 2F3C 414C 5456 move.l -[A7], 0x414C5456 /* 'ALTV' */
00005D0A 2F3C 414C 5471 move.l -[A7], 0x414C5471 /* 'ALTq' */
00005D10 4EAD DA00 jsr [A5 - 0x2600]
00005D14 301F move.w D0, [A7]+
00005D16 3600 move.w D3, D0
00005D18 600C bra +0xE /* 00005D26 */
label00005D1A:
00005D1A 7000 moveq.l D0, 0x00
00005D1C 4FEF 0116 lea.l A7, [A7 + 0x116]
00005D20 4CDF 0038 movem.l D3,D4,D5, [A7]+
00005D24 4E75 rts
label00005D26:
00005D26 4A43 tst.w D3
00005D28 6620 bne +0x22 /* 00005D4A */
00005D2A 554F subq.w A7, 2
00005D2C 3F2F 0002 move.w -[A7], [A7 + 0x2]
00005D30 2F2F 0006 move.l -[A7], [A7 + 0x6]
00005D34 486F 000E pea.l [A7 + 0xE]
00005D38 1F3C 0003 move.b -[A7], 0x3
00005D3C 2F2F 0134 move.l -[A7], [A7 + 0x134]
00005D40 4EAD D9FA jsr [A5 - 0x2606]
00005D44 301F move.w D0, [A7]+
00005D46 3600 move.w D3, D0
00005D48 6724 beq +0x26 /* 00005D6E */
label00005D4A:
00005D4A 4AAD 83E2 tst.l [A5 - 0x7C1E]
00005D4E 6612 bne +0x14 /* 00005D62 */
00005D50 3F03 move.w -[A7], D3
00005D52 3F2F 0130 move.w -[A7], [A7 + 0x130]
00005D56 4EBA C472 jsr [PC - 0x3B8E /* 000021CA */]
00005D5A 7001 moveq.l D0, 0x01
00005D5C 2B40 83E2 move.l [A5 - 0x7C1E], D0
00005D60 584F addq.w A7, 4
label00005D62:
00005D62 7000 moveq.l D0, 0x00
00005D64 4FEF 0116 lea.l A7, [A7 + 0x116]
00005D68 4CDF 0038 movem.l D3,D4,D5, [A7]+
00005D6C 4E75 rts
label00005D6E:
00005D6E 7001 moveq.l D0, 0x01
00005D70 4FEF 0116 lea.l A7, [A7 + 0x116]
00005D74 4CDF 0038 movem.l D3,D4,D5, [A7]+
00005D78 4E75 rts
00005D7A 0000 0000 ori.b D0, 0x0
00005D7E 0000 0000 ori.b D0, 0x0
00005D82 0000 0000 ori.b D0, 0x0